This is a tutorial for Android Beginner. I am going to describe step by step to build your first Android Application.
We need following things to run our first application.
1. JDK1.6 or Jdk1.7
2. Eclipse
3. Android sdk
4. Android Plunging for Eclipse.
At first install JDK in your machine(computer). You can get jdk from Oracle site. You can download jdk version based on your machine OS.
Download latest Eclipse from eclipse.org based on your machine OS. Eclipse comes in Zip file download it and Uncompressed it in D or E drive of your machine.
When you uncompressed it you a get folder name Eclipse inside that folder you get an icon of eclipse. Double click on it and you get a welcome screen. Close this screen and then go in File menu and create a new java project named it App1 or something like that . Inside that App1 you find src folder right click on it and create a class put package name and Class name.Inside this class you write same Hello world in java and run it. If it is working then half work down.
Now go on http://developer.android.com and download Android SDK depending on your machine OS and install it.
Now Go on Help menu of Eclipse and add plunging in it for Android. Follow the following step
click on help menu in that you get install new software click on that you get a pop-up window inside that window you get Add button click on that it again open a new pop-up window inside that window there are two field in first field put Any name and in Second field put this address https://dl-ssl.google.com/android/eclipse/ after that click ok it download required ADT plugins for eclipse after installing eclipse asking for restart restart it .
When Eclipse restarted you find two new icon below eclipse menu section. One icon is SDK manager and other is AVD manager. Click on AVD manager and create a new Virtual device(mobile run time).
Now click on File menu in eclipse create a new android Project and named it HelloAndroid and follow the onscreen Simple procedure. When it finish you will get HelloAndroid folder inside that src folder open it you will get java class open it and run it by click run button or ctrl+f11. It automatic lunch virtual device and after 5 to 6 min you get Hello world on Virtual device screen.
Happy Coding.
Hi, this is a comment.
To delete a comment, just log in, and view the posts’ comments, there you will have the option to edit or delete them.