Saturday, 9 June 2012

Button in android

Button demo Button in android mostly used to get action from user. You can get action from button in onClick() event. In android button works same as it works in java. Two ways to create Button in android Using xml file in layout          <Button        android:id="@+id/button1"        android:layout_width="wrap_content"        android:layout_height="wrap_content"        android:text="My Button"/>  Using java code in activity class                 Button...

Friday, 8 June 2012

EditText in android

EditText in android EditText in android is works as Text field. You can get the data from the user. Android gives facility to enter different type of data as per the requirement. Two ways to create EditText in android Using xml file in layout          <EditText         android:id="@+id/hello"        android:layout_width="fill_parent"        android:layout_height="wrap_content"        android:hint="this is hint" />  Using java code in activity class                ...

Thursday, 7 June 2012

TextView in android

TextView in android.   TextView in android are works as label.  It enables user to display text on the screen. Generally text display in textview are static but user can set text dynamically. Two ways to create text view in android Using xml file in layout          <TextView        android:id="@+id/hello"        android:layout_width="fill_parent"        android:layout_height="wrap_content"        android:text="@string/hello" />  Using java code in activity class                ...

Wednesday, 6 June 2012

How to install android (Step by step android installation)

Step-by-step process of android installation. How to install android in windows 7? step by step installation of android in windows. simple way to install android. How to install android in PC? how to install android in laptop ? how to install android in eclipse? how to configure eclipse in android ? how to install android plug-ins in eclipse. How to download and install android in windows. Steps to install android, First of all download following things JDK 1.6 download Eclipse download Android SDK download ADT plug-ins download Install JDK Set java class path RightClick on My Computer --> Properties --> Advance System setting --> Environment variable --> In System Variable Edit path variable --> put your directory path of JDK installation directory here up...

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Review