Android has a native development kit (NDK) which can be used to create JNI native code for Android applications. In this video, I show how I convert an Android project in Eclipse to add the C/C++ nature to it and set it up to build the shared library that gets included in your Android apk file. This gives you all the power of the CDT in combination with the JDT to build Android apps with native code. Except for debug, though, as JNI debug remains the lost holy grail for the CDT...
If you want to look at the code from the demo, you can clone or download from http://github.com/dschaefer/androidDemo.
Link to YouTube
Thursday, September 10, 2009
Subscribe to:
Post Comments (Atom)

2 comments:
thanks for the demo!!!
Wow, I never though Eclipse is capable of such things :)
I'm using Visual Studio + links inplace of real folders in NDK, so all source code and output is in fact in my Java project. But building is cumbersome - I have to issue make APP command in cygwin window.
Post a Comment