Chapter 8
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.
Android NDK
The Android NDK complements the Android SDK by providing a toolset to use C/C++ for implementing parts of your app in native code. The NDK provides headers and libraries for building native activities, handling ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access