Within the earlier article, I gave you an introduction about Android platform and in addition gave you an concept about creating Android apps with Eclipse. On this article I’ll focus on with you some steps required in putting in Eclipse with Android Improvement Toolkit (ADT) plug-in for creating android purposes Click Here.
- Primarily based in your platform, Mac OS X, Home windows or Linux, firstly, you need to obtain the Android Software program Improvement Equipment or SDK.
- It’s best to then extract the downloaded file to a memorable location in your arduous drive.
- If Eclipse shouldn’t be put in earlier than hand, then obtain the Eclipse IDE for Java Builders bundle and set up it. Google recommends Eclipse three.5 to Android apps builders for programming
- Run Eclipse and choose Assist—> Set up New Software program
- You’ll get a ‘Accessible Software program’ window and in addition an possibility referred to as ‘Add’. Click on on ADD.
- Within the Identify area you need to specify Android app Improvement Instruments and within the Location area enter this dl-ssl.google. com/android/eclipse/.
- After clicking OK, you will discover Developer Instruments listed within the Accessible Software program listing. This results in the set up of Android Improvement Instruments in addition to DDMS, which is Android’s debugging instrument.
- To finish the set up means of the plugin click on on Subsequent and End. After every thing is put in, restart Eclipse.
- On restart of Eclipse, choose Window–> Preferences. You’ll find Android within the classes listing.
- Eclipse ought to now be told in regards to the location of Android SDK. For this click on the choice Android that seems on the left hand facet of the window after which click on on Browse which lets you choose the placement on the arduous drive the place the SDK information have been saved.
- Then Click on OK in order that Eclipse can save this location.
The Android Open Supply Challenge platforms are open supply. Nevertheless, Google’s proprietary extensions comparable to Google Maps will not be included on it. If you happen to determine to not use Google APIs then you definitely can’t use Google’s mapping performance in your utility. It’s best to goal one of many Google platforms as it’ll provide help to to make the most of Google’s proprietary extensions.
- Choose Window->Android SDK and AVD Supervisor.
- Click on Accessible Packages current on the left facet and have a look at the repository which reveals the listing of the out there Android platforms.
- You may choose the platforms you wish to obtain from the listing or preserve every thing checked to obtain all of the out there platforms. After you are completed choosing, click on on Set up Chosen and observe the set up directions.
After finishing all downloads you can begin creating the appliance.
Starting a New Android Challenge
You should use Eclipse’s New Challenge Wizard to create a brand new utility for Android. It generates information and codes which are able to run. It serves as an excellent place to begin to develop your utility.
- Choose File->New->Challenge…
- Select Android Challenge
- Within the New Challenge dialog, enter the required settings.