Working with Android NDK and RenderScript
Developers predominantly write Android applications in Java. However, in some situations it’s desirable (or even necessary) to express at least part of the code in another language (notably C or C++). This may come from a need to access resources only available in native code (such as kernel drivers), or to obtain better performance from critical sections of code. Google addresses these situations by providing the Android Native Development Kit (NDK) and RenderScript.