.:: Welcome To My Personal Blog ::.

Saturday, February 25, 2012

Begin Android Programming with Netbeans (Part - 1 of 2)

The full process is tested on the computer with following configuration:

Processor: Core i3 2.53 GHz
RAM: 2.00 GB
OS: 32-bit Windows 7
IDE: Netbeans 6.9.1

Here is the step-by-step process to begin android programming with netbeans. Hope it will be helpfull for all. (Part 1)

Step 1: Download and Install Android SDK

Download the SDK you needed according to your operating system from this link: http://developer.android.com/sdk/index.html
For windows, you can download the executable version(.exe) or the compressed zip version (.zip). But usually, executable version is recommended for windows users.

If you downloaded the executable version, then just double-click on it. The set up wizard will take you through the way. You just need to show the directory where you want to install it.

If you downloaded the compressed zip version, then extract it where you want it to be.

Step 2: Configure Netbeans and add Plugin

Now, open Netbeans. Goto Tools>>Plugins and click on the Settings tab. Find Add button in the middle right side and click on it. Insert a name you want to show as name and the following link as URL : http://kenai.com/downloads/nbandroid/updatecenter/updates.xml

Press OK. Now go to Available Plugins tab and find the plugin named with Android only. Click on the checkbox left and click install button in the bottom left corner.
Close the Plugins window.

Goto Tools>>Options and click on the Miscellaneas tab. Give the SDK location where you already installed the Android SDK. Press OK.

Step 3: Configure Android SDK Manager

Go to Tools>>Android SDK and AVD manager. The following components must be installed:

  • Android SDK Tools
  • Android SDK Platform-Tools
  • Android 4.0.3 (API 15)   (you can select the version for which you are going to develop the app)

Step 4: Create Android Virtual Device 
              

In the Android SDK Manager window, Goto Tools>>Manage AVDs...
Android Virtual Device Manager window will open. Click on New and provide a name (as you wish) for the virtual device and target (must be given). Now Click on Create AVD button in the bottom of the new device window. Select the device and press Start... to view the virtual device. It will take a few minutes to start the emulator and loading the OS.


Link to Part 2 of 2


No comments:

Post a Comment

Popular Posts