Tuesday, July 17, 2012

Android NDK


The NDK is a toolset that allows you to implement parts of your app using native-code languages such as C and C++ (http://developer.android.com/tools/sdk/ndk/index.html)
You will also need Eclipse CDT Plugin installed to build C/C++ native part from Eclipse. To install it use menu Help -> Install New Software..., then setup CDT Main Features from http://download.eclipse.org/tools/cdt/releases/juno URL.
The Java Native Interface
 Programmer's Guide and Specification
(http://java.sun.com/docs/books/jni/html/start.html)
shows a simple example of using the Java Native Interface:


Let’s go through all these steps.