Starting programming for android with Netbeans

Dear friends, I had windows 7 installed on my PC and already had Netbeans 6.9.1 installed. And according to the android official website, their is no such tutorial for us to develop via Netbeans. So, I am here for you people to support for the development on Android via Netbeans IDE. Now first the main problem is to chose SDK. The following steps works for all the type of OS(as I have tried on ubuntu too).

First download the SDk related to your OS from here: http://developer.android.com/sdk/index.html

After that install the sdk if on windows else just extract the files. Developing 0n Linux would cost you less download as the download size of the files are really lower than on windows. After the installation/extraction, open Netbeans.

Now goto Tools > Plugins > Click on Settings tab and follow the below process as on image.

Just keep the name as anything, I kept as “Android” and on URL paste the following URL: http://kenai.com/downloads/nbandroid/updatecenter/updates.xml

Press Ok and you will have new plugins available to be downloaded. Just tick “Android” from “Available Plugins” tab and install. After that you are still not good to go. The feature for neatbeans has been added but still something is still missing. Not what you do is goto Tools > Options and move to Miscellaneous tab. You will find the following result:

Just browser the folder and set Ok where you have installed the SDK file that you have previously installed/extracted. Now you are finely good to go. You might have already notice that there is a sub-menu named Android SDK and AVD Manager under Tools menu. Click it. And install the files that have been listed on the image below.

[NOTE*: The package named SDK Platform Android 2.1-update1, API7, revision 2 it not that you install the same package theire are other packages available for you in the Available package list. Just install the version of OS of android you want.]

After the installation, just click on Virtual Devices. Fill up the form as I have done on image below:

and select the AVD and the click Start. Now the final result comes as the image below:

The emulator start quick but the OS on the emulator may start very slowly depending on you system. So you must have patience before you see the result.

Happy programming.