Pages

Affichage des articles dont le libellé est HelloWorld Application in Android. Afficher tous les articles
Affichage des articles dont le libellé est HelloWorld Application in Android. Afficher tous les articles

vendredi 10 mai 2013

HelloWorld Application in Android

In this article, we are going to see, how to create a HelloWorld application in Android.

This application is developed in Eclipse ( 4.2.1 ) with ADT plugin ( 20.0.3 ) and Android SDK ( R20.0.3 )

1. Open Eclipse IDE




2. Click File -> New -> Project -> Android Application Project


As shown in the Figure 1 , enter HelloWorld as the project name

3. Design application launcher icon :


4. Create a blank activity


5. Enter MainActivity details


6. Delete Android Support Library from this project, if exists

By default Eclipse ( 4.2.1) adds Android Support Library to  Android application project. For this application, we don’t need to use this support library. So the library file libs/android-support-v4.jar may be removed manually via ProjectExplorer by simply right click on the file and then clicking the menu item “delete”

7. Run the application by clicking the menu Run -> Run . The output is shown below :