Showing posts with label Android Development. Show all posts
Showing posts with label Android Development. Show all posts

Thursday, April 26, 2012

Android Programming


Hello Friends,

Welcome to the new world of Android!!!

This tutorial will show you how to setup android development platform.

What tools we need ?
----------------------------

1) Android SDK , I preferred installer_r18-windows.exe

2) We need Latest JDK Tool , preferred JDK 7u4

3) Eclipse IDE , preferred Eclipse IDE for Java EE Developers ,

4) Requires ADT Plugin for eclipse , ADT PLUGIN 18.0.0


Thats it you need!!!..


Steps
----------

1. Download Android SDK , install it and open SDK Manager
2. It will ask you to install tools , takes some time for Indian Users ;) once
Below are tools you need to install





















3. Once you install all these tools , Install Eclipse
     Indigo

4.  Open Eclipse , Help > Install New Software >
     Click on ADD > Archive > select ADT 18 Plugin
     Which you downloaded.

5. After installation of ADT 18 pugin Eclipse will
    Restart.

6. Go to Windows > Preferences > Select Android
     Browse SDK Location, and it will show you
     Targer name and Platform below.

7. Click Apply > Ok
8. Set up Android Virtual Device , Windows > AVD Manager > New >
9. Provide Name of device , Target > Create AVD

Done!!!!....

Hello World Program :
------------------------

File > New > Project > Android Project , Provide name and package.
once project is created on left pane you can see project files , with main source file under src > packagename > filename.java

You can edit your finename java source and run android programs.

How to run Programs ?
-------------------------

Right click on android project > Run As > Android Application.

It will boot android OS first , will take some time at first sight, and they you can see output of your program!!!


Enjoy Android development!


Best Regards,
Girish...