Hello World Program
Creating a new Android Project.
Select File->New->Other (or File->New->Android Project if you see Android Project from the pop-up menu)
Select Android->Android Application Project,
Fill in the project details.
For the Project name field, enter HelloAndroid (or whatever project name of your choice)
• For Build Target, check highest (Android AVD also highest apk)
• Select the theme
• Here just click just it can shown workspace location.
• Here also just click next its showing app icon here
- It can show no. of activities theier you select of those (better to select blank)
It is our activity name if you want to change you can change and click finish.
• When we click finish project creation is done automatically it can open First activity and related Java file
Build and run the application.
Right click HelloAndroid project node and select Run As->Android Application. (Or select Run from the top-level menu and then select Run.)
Observe that the Android device emulator gets displayed.
The Eclipse plugin automatically creates a new run configuration for your project and then launches the Android Emulator. Depending on your environment, the Android emulator might take several minutes to boot fully, so please be patient.
Slide down the arrow to the right.
Observe that the result.
Understanding Of Project Structure
Please find the descriptions in below
This contains the .java source files for your project. By default, it includes an MainActivity.java source file having an activity class that runs when your app is launched using the app icon.
This contains the .R file, a compiler-generated file that references all the resources found in your project. You should not modify this file.
This folder contains the Android package files .apk built by the ADT during the build process and everything else needed to run an Android application.
This is a directory for drawable objects that are designed for high-density screens.
This is a directory for files that define your app’s user interface
This is a directory for other various XML files that contain a collection of resources, such as strings and colours definitions.
This is the manifest file which describes the fundamental characteristics of the app and defines each of its components.