Tuesday, March 11, 2014

Getting Started with Android

First Download the ADT( Android Development Tool) from the given link http://developer.android.com/sdk/index.html

After Downloading the file extract the file and put in C: Drive. Then open folder and then open ellipse.exe (For Windows)

In this post i will show how to write hello world

step 1: Open ellipse.exe 
step 2: Then click on File-New -Android Application Project.



Step 3: So after clicking Android Application Project an new Dialog box will be opened with name New Android Application. Now In the Application name write the name of your application then press next.




Step 4: Just press next.


Step 5: Here you can customize the icons. To change the icon go to Browse and select the image you want as a icon and press OK.




Step 6:  Create a Blank Activity and then press Next.



Step 7: The press Finish. Your Android Project will be created. 



Now i will show how to create Android Virtual Device Manager.

Step 1: Go to windows option in Tool Bar and press Android Virtual Device Manager.



Step 2 :- Then to create the Emulator go to new and then click it. A new dialog box will be opened with many option. Select the type you want and press OK.



Step 3 :- TO Start the Emulator press Start.. Button.


Now to run your Program right click on the project that you have created then go to Run- click on -Android Application


After clicking on Android Application option the "Hello" Application will start on your Emulator as shown Below



In the next post we will discuss about the code and different directories present in Android Application Project.

No comments:

Post a Comment