Last updated June 18, 2011 06:46, by radim
Feedicon  

Installation


See Install page to find how to install nbadroid plugins into your IDE.

Set Android SDK location


You need to tell IDE about your Android SDK before your it can use it.

  1. Open Tools | Options window and select Miscellanelous group there.
  2. Select Android tab.
  3. Fill the location of Android SDK.

Create project


  • Go to new project a there is a template for an Android project.
  • Specify name of your application and location for project sources
  • Type package name for your apllication
  • Select build target - this is the Android platform used for building and your application will need at least this version of Android OS for its execution (and possibly set of libraries you select platform with extensions).

If the list of platforms is empty you need to get back to Set Android SDK location step.

Run project


You have to manually create an AVD (Android virtual device) that can be used to host your application or attach a physical device. Look at Managing Virtual Devices how to do this. Current support does not let you do this from the IDE yet.

Just run your application. Ant build will be executed and then the application will be deployed to selected device.

You can customize how the application is executed in project customizer (right-click on a project node and invoke 'Properties' action).

  • Default activity can be started after application is deployed
  • You can select your own activity
  • IDE can only deploy the application without launching its code

Others


Services tab contains Android Devices node where you can see all attached devices (both emulators and connected physical devices).

You can see processes running on these devices and look at the device and process properties. In addition to that you can set behavior of voice and data connectivity for an emulator in its properties.

TODO more details, images

  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close