Android and Netbeans

by ntuple » Tue, 05 May 2009 02:05:22 GMT

Sponsored Links
 Has anyone gotten Android to work on Netbeans ? I'm using the
nbandroid plugin which works fine but I can't get to the next step of
defining the Android Platform.

Whether I point to the Android folder or the platforms subfolder or
the 1.1 or 1.5 underneath, Netbeans refuses to recognize any of these
as platform folders  Grrrr !

This is on Kubunto 9.04 so it maybe that the Android Unix distro isn't
recognized but it's really frustrating because I prefer to work in

Without a workaround it seems the only choice is to use Eclipse to
develop Android apps.



Android and Netbeans

by ayush » Tue, 05 May 2009 13:24:53 GMT

 i tried the same thing a few months ago. i managed to get the plugin
installed and open up a new android project in netbeans. however the
build kept failing. if i remember rightly, one of the forums mentioned
that the netbeans plugin is unable to maintain the file which
is why the build failed. it might work if you are willing to make the
effort to create and maintain the file manually.
in my case, i (reluctantly) switched over to eclipse. but trust me -
eclipse is pretty decent once u get used to it. the built in XML
editors are useful when u need to define the layouts and resources
using XML.


Sponsored Links

Android and Netbeans

by Vinay H V » Fri, 29 May 2009 17:59:51 GMT

 I got it working.

Android works fine in NetBeans. Just follow steps in 

Use NetBeans 6.5 ml version.
and Use android-sdk-windows-1.0_r2 for Android Platform

Vinay H V


Other Threads

1. Stuck with ScrollView vs ListView, your thoughts?


I have to make a pretty complex activity layout, which needs to scroll
vertically. It is composed into row sections, which are focusable
rows. Some rows may not be focusable themselves, but have internal
focusable items, like this:

 // This whole row gets highlighted and focusable.

 // This row's internal controls get highlighted and focusable.


so there are about 5 different types of 'rows'. For now I've added
them all to a ScrollView, which means the entire layout is built once,
unlike a ListView, which tries to recreate each row as you scroll it
to save memory.

I'd like to use ListView, because it has built in support for
highlighting of rows, with a touch delay to discern between
ACTION_DOWN and ACTION_MOVE (which I can't get to work for

In this case, I think ListView will be a problem for me. Each of my
'row types' is a pretty complex layout - images downloaded from the
net, many internal layouts - and also they may each have focusable
elements within (for example, the second row above has 2 focusable
buttons within it - I'd want these to get focus on scroll instead of
the entire row). When the user is scrolling a ListView, I'm worried
that the complexity of recreating each row will really slow things
down, as well as issues with focus paths etc.

ScrollView is working well for the moment, its just that it doesnt
help you discern between a tap and move event - so my rows get
highlighted even when the user starts scrolling with their finger,
which looks funny.

My options are to:

 1) Stick with ScrollView, and find a way to support checking between
 2) Switch to ListView, and see if it can:
     a) Allow focus to widgets within a row
     b) Somehow turn off recycling of views (since some of the views
will be complex)

Any thoughts?



2. android.provider.Settings.System.FONT_SCALE -- Does this do anything (Android 2.0)?

It's supposed to scale the size of fonts defined using the "sp" unit.
But this is not exposed to the user not really supported at the


3. ADP2 now available

4. eclipse problem in AndroidManifest.xml file

5. cannot scrollTo() a webview before rending it

6. plz help me ... how to implement camera intent correctly?

7. Menu Items.