Saturday, October 6, 2012

environment for anroid application development

Its the time to Disco(!!) Anroid Development.

Like all, recently I have tried to fall myself on that trap. Collecting some advise from one of my friend iam starting to put my footprint on that arena. He suggested me to follow a website:
http://developer.android.com/training/index.html

My friend is reliable for taking suggestion as he has recently completed a short course training of developing anroid application. He also provided me the required environment for starting the work. But i am interested to create the environment on my own hand( so that i can know the building blocks for developer environment).



First Requirement:
Willingness of mine
Ambition to do Earn
A PC
Making Time
No Excuse

And others are:
Eclipse( I have downloaded the mobile developer version of Eclipse, JUNO)
Anroid SDK
ADT(Anroid Developer Tools) Plugins for Eclipse



Next starting to install the above software:

1. Installation of Eclipse is nothing but to unzip the downloaded eclipse file and keep it in a save place(!!).(Requested not to keep it in System Drive).

2. To install Anroid SDK, just follow:

Your download package is an executable file that starts an installer. The installer checks your machine for required tools, such as the proper Java SE Development Kit (JDK) and installs it if necessary. The installer then saves the Android SDK Tools into a default location (or you can specify the location).

Make a note of the name and location of the SDK directory on your system—you will need to refer to the SDK directory later, when setting up the ADT plugin and when using the SDK tools from the command line.

Once the tools are installed, the installer offers to start the Android SDK Manager. Start it and continue with the installation guide by clicking the Next link on the right.

3. Now When I am in need to make relation between Eclipse and installed SDK.
Running Eclipse. Follow the following steps:
Window-->Preferences
But here I don't find any link point for Anroid. (Eclipse is not worry about Anroid at all). So Now I need to inform Eclipse that there is something in world called Anroid.

4. Install ADT Pluging for eclipse.
At Eclipse. Help-->(at bottom)Install New Software




Install Window will come. After clicking on Add button we get the window "Add Repository". Here we need to provide Name of the plugin and at bottom input box we will have to provide the url of the plugin.(In some cases if https:// does not work then we can use just http://).For ADT, the url will be https://dl-ssl.google.com/android/eclipse/ The best thing if we have a previously downloaded zip file of the plugin. In that case we we will have to click on Archive. Its helpful if you are confused with your internet connectivity.

Proceed next. Then the dependency plugins will also be listed. We will confirm it by clicking on OK.


Aftre installing the ADT, we will abole to create a relation between Eclipse and Anroid. No, if we traverse the Preferennces from the Window Menu of Eclipse we will get the Anroid listed in that window with configuration of SDK location.

No comments: