Setup Eclipse with Android ADT Plugin for code Environment for Example source code
Setup Eclipse with Android ADT Plugin for test/code environment (by using Android API Level 7 and Emulator).
P.S- Above page is having around 14 images, download size could be around 700KB.Setting up coding environment using Android SDK : There are some ways to setup dev/coding environment for working with Android Platform, either by downloading Android SDK (ADT bundle for specific operating system that you are using), or Download Android SDK Tools for specific operating system. Here we will go through both one by one. To start with, download Android ADT Bundle for windows. 1. Download Android SDK (ADT Bundle for windows). http://developer.android.com/sdk/index.html 2. With this Bundle we have following to start/begin coding app on Android Platform. 2.1. Eclipse + ADT plugin 2.2. Android SDK Tools 2.3. Android Platform-tools 2.4. The latest Android platform 2.5. The latest Android system image for the emulator By executing eclipse executable, one can start working on examples shown on this web site. The other way is to use existing Eclipse available to use (I have used Eclipse SDK Juno version 4.2.1) Following link takes you to the Eclipse web site for downloading appropriate version of Eclipse. http://download.eclipse.org/eclipse/downloads/ After having appropriate version of Eclipse to use, following following URL for installing Android ADT Plugin. http://developer.android.com/sdk/installing/installing-adt.html After installing Android ADT Plugin, please restart Eclipse IDE and make sure you have few icons showing up in the tools pallatte of Eclipse, as shown in the below image: On click of the 'Android Virtual Manager' icon on toolbar, as depicted in the image above, if an error is shown on screen as shown in the image below: it reads as 'The tools need to be updated via SDK Manager'. Then u should go to Tools->Preferences-click on Android to see a screen as shown below: Now browse the Android SDK folder 'android-sdk -> click on Apply and then ok button. Then click on Virtual Device Manager, to open up a dialog box as shown below: Then click on 'New' labelled button, ter all details as aprropriate, and refer values as I have entered as shown below: Select the row from the list, and click start: One can find launch option as shown below: And observer a starting dialog appears: Now click on Open Perspective, select DDMS, and go to tab of DDMS Perspective: Following image depicts the Emulator, as shown on screen: Now go to package explorer, and right click -> New -> Android Application Project Enter appropriate values, some of the values I entered as shown below: Select the project -> right click -> go to 'Run as' -> Android Application. If everything is setup roperly, one can see the app getting shown on screen, Please note that this process of starting Android Enumator may take some time depending on various factors, that one can find in Android web site. Happy coding on Android Platform!!!
This Page and/or example code is using Android API Level 7 and tested using corresponding Emulator only.
For latest information please refer Android Official website.
|If interested in commenting related to Set up coding environment using Android SDK|