Chapter 5
Native Development
Although the Android framework is designed purely for Java-based applications, the Android Native Development Kit (NDK) is also provided by Google as an official companion toolset for the Android SDK to enable developers to implement and embed performance-critical portions of their applications using native machine code–generating programming languages, such as C, C++, and assembly.
Through the Java Native Interface (JNI) technology, the native components can be accessed seamlessly as ordinary Java methods. Both the Java and native code portions of the application run within the same process. Although the JNI technology permits both the Java and the native code to coexist within the same application, it does ...
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