Creating the Android First Application.
After completely installation of android adt bundle in you machion. Then you can start the building Application. how to create first Application ? follow the following steps to create Your first Application.
Step 1:- Goto File->New-> Android Project.
Step 2:-Clicking on Android Application Project one window will be display.
1)In first textbox you have to provide you Applcation name.
(Note:- You Project Name first Word First Letter should be capital)
2)In Third window you can make you package hierarchy.
3)Click on Next Button.
Step 3:- After clicking next button one window will be open. follow the instruction and click on Next button.
Step 4:- You can change you application launcher image on this window.(if you want to change it then you can change other wise it will take bydefault android symbol) Click on Next Button.
Step 5:-Just Click on Next Button.
Step 6:- Click Next Button.
Step 7:- Click on Finish Button.
Step 8:- After creating your project on main window left hand side you can see the your project name click on that after clicking you see the 8 folder under that.
Step 9:- In Src folder your package name and .java files are stored.
Step 10:- In bin folder AndroidManifeast.xml file is avilable. in that file we have to give some system permissons.(But till now we dont want to take any permissions so dont thik much about this of this stage )
Step 11:- in res folder we have also some sub folder that is
1) drawable-hdpi :- all the drawable folder we store the image.
2)layout :- in layout folder all .xml files are sotred (Or all activities).
3)values :- in values folder string.xml , menu.xml , style.xml files are aviable.
How to Run You Application:-
Step 12:- Right click on you project ->Run As -> Android Application
(or just press ctrl +F11)
Step 13:- Just wait for few minute you application is loading /installing on you emulator.
Your first program output:-
After completely installation of android adt bundle in you machion. Then you can start the building Application. how to create first Application ? follow the following steps to create Your first Application.
Step 1:- Goto File->New-> Android Project.
Step 2:-Clicking on Android Application Project one window will be display.
1)In first textbox you have to provide you Applcation name.
(Note:- You Project Name first Word First Letter should be capital)
2)In Third window you can make you package hierarchy.
3)Click on Next Button.
Step 3:- After clicking next button one window will be open. follow the instruction and click on Next button.
Step 4:- You can change you application launcher image on this window.(if you want to change it then you can change other wise it will take bydefault android symbol) Click on Next Button.
Step 5:-Just Click on Next Button.
Step 6:- Click Next Button.
Step 7:- Click on Finish Button.
Step 8:- After creating your project on main window left hand side you can see the your project name click on that after clicking you see the 8 folder under that.
Step 9:- In Src folder your package name and .java files are stored.
Step 10:- In bin folder AndroidManifeast.xml file is avilable. in that file we have to give some system permissons.(But till now we dont want to take any permissions so dont thik much about this of this stage )
Step 11:- in res folder we have also some sub folder that is
1) drawable-hdpi :- all the drawable folder we store the image.
2)layout :- in layout folder all .xml files are sotred (Or all activities).
3)values :- in values folder string.xml , menu.xml , style.xml files are aviable.
How to Run You Application:-
Step 12:- Right click on you project ->Run As -> Android Application
(or just press ctrl +F11)
Step 13:- Just wait for few minute you application is loading /installing on you emulator.
Your first program output:-
Follow the Above Procedure and run you Android first Application .













No comments:
Post a Comment