News for hackers. Stuff that matters.
Re:(Yet Another) Android NDK Blog Posting by AntiRush on Sunday March 11, 2012 @07:25PM (#3691610)
It's worth mentioning that, since Android 2.3, you can make what's called a Native Activity[1] and circumvent Java entirely (as far as code you write goes).

It still runs in the Dalvik VM but you don't have to write a wrapper Java Activity - everything is C or C++.

For certain things, particularly opengl games, this can make a lot of sense.

[1] http://developer.android.com/reference/android/app/NativeAct...

Re:(Yet Another) Android NDK Blog Posting by corysama on Sunday March 11, 2012 @07:42PM (#3691656)
Looks like in another 2-3 months, the market share for 2.3 support will finally reach 75%. If I was starting today, I would be comfortable targeting that API level. Wish I could say 3+ was doing so well...

http://developer.android.com/resources/dashboard/platform-ve...

Re:(Yet Another) Android NDK Blog Posting by fpgeek on Sunday March 11, 2012 @11:28PM (#3692231)
There's been multiple APK support (for different OS versions, etc.) in the Android market since last July[1], so you could do the best thing for your "main" version in one build and have fallbacks for other versions in other builds (where necessary, of course).

[1] http://android-developers.blogspot.com/2011/07/multiple-apk-...

Re:(Yet Another) Android NDK Blog Posting by huggyface on Sunday March 11, 2012 @08:14PM (#3691760)
4.0 will see a large spike in the coming months.

Nonetheless, simply looking at the pie graph isn't enough -- if your app targets higher end phones, for instance, aim high: Cut out the derelicts and the abandoned devices, and let their vendors suffer.

Too many Android app providers try to target all, and in the end please none.

Re:(Yet Another) Android NDK Blog Posting by chj on Sunday March 11, 2012 @08:38PM (#3691831)
can eclipse debug native apps ?
Re:(Yet Another) Android NDK Blog Posting by shareme on Sunday March 11, 2012 @09:11PM (#3691905)
Yes, the feature set is through Sequayah(not correct spelling) which is part of the mobile java tools..
Re:(Yet Another) Android NDK Blog Posting by corysama on Sunday March 11, 2012 @09:44PM (#3691983)
The Sequoyah add-on isn't really necessary. Here's a page that boils down their instructions on how to set up ndk-gdb in Eclipse without anything extra. http://mhandroid.wordpress.com/2011/01/23/using-eclipse-for-...

I managed to get this to work, but it was so slow and fragile that I gave up and went back to command line GDB. It's easier to deal with ndk-gdb's problems on the command line than through Eclipse. Meanwhile, it has been long enough that I should give http://www.wingdb.com/wgMobileEdition.htm another try...