Monday, 24 August 2015

Android Programming Tutorials 1 : Hello World..!

Steps For Creating First Android Application:

1.   Launch Eclipse.
2.   Select File > New > Android Application Project.
3.   In the New Project window, enter the application name, module name, package name, and project location.
This example uses HelloWorldEclipse for the application name.
4.   Set the minimum required SDK to API 9: Android 2.3 (Gingerbread) or later and use the currently recommended Android API.

After you fill in the fields, the New Project window should look something like this:



Once filled out, click the Next button, which should give a screen similar to that in the following figure.


Leave the values on this screen as displayed above and click Next, which should give a screen similar to the following image.




Change any of the icon attributes that you wish and click Nextwhich gives a screen similar to the following.


Choose the type of activity desired (Blank if you are not certain) and click Next. This gives a screen similar to the following image.



By default you will get the class name as MainActivity either you can modify the class name or  anything desired on this screen and click FinishThis should create a new project with the name that you assigned above, which will appear in the Package panel on the left of Eclipse, ready for you to begin editing. If you look at your workspace directory, you will see that subdirectories and files corresponding to the new project have been created there with the same directory hierarchy displayed in the Eclipse Package explorer.

Once Everything is done then it below screen will be appear as 



and the Project Structure as follow



If you Run as has shown below: Right click on the project-->choose Run AS-->Android Application 



OupPut:



NOTE: From here Follow all the above steps for further in creation of Pndroid Application Projects.

Please Send Your Comments To ambilpura.sunil@gmail.com



NEXT Tutorial:  Android Experienced Level Questions


No comments:

Post a Comment