The Android NDK is a companion tool to the Android SDK that lets Android application developers build portions of their apps in native code.
Android NDK is designed for use only in conjunction with the Android SDK, so if you have not already installed the Android 1.5 SDK, please do so before downloading the NDK. Also, please read What is the Android NDK? to get an understanding of what the NDK offers and whether it will be useful to you.
The Android NDK provides tools that allow Android application developers to embed components that make use of native code in their Android applications.
Android applications run in the Dalvik virtual machine. The NDK allows developers to implement parts of their applications using native-code languages such as C and C++. This can provide benefits to certain classes of applications, in the form of reuse of existing code and in some cases increased speed.
Here are some key features of "Android NDK":
· A set of tools and build files used to generate native code libraries from C and C++ sources.
· A way to embed the corresponding native libraries into application package files (.apks) that can be deployed on Android devices.
· A set of native system headers and libraries that will be supported in all future versions of the Android platform, starting from Android 1.5.
· Android NDK also provides samples, documentation and tutorials.
Requirements:
· · A complete Android SDK installation (including all dependencies) is required.
· · Android 1.5 SDK or later version is required.
· GNU Make 3.81 or later is required. Earlier versions of GNU Make might work but have not been tested
· · The native libraries created by the Android NDK can only be used on devices running the Android 1.5 platform version or later. This is due to toolchain and ABI related changes that make the native libraries incompatible with 1.0 and 1.1 system images.
· · For this reason, you should use native libraries produced with the NDK in applications that are deployable to devices running the Android 1.5 platform version or later. To ensure compatibility, an application using a native library produced with the ND
What's New in This Release: [ read full changelog ]
Android NDK r7 includes a number of build system improvements and bug fixes, but most importantly it gives you access to two new sets of APIs:
· Low-level streaming multimedia: A new API based on Khronos OpenMAX AL 1.0.1 provides a direct, efficient path for low-level streaming multimedia. The new path is ideal for applications that need to maintain complete control over media data before passing it to the platform for presentation. For example, media applications can now retrieve data from any source, apply proprietary encryption/decryption, and then send the data to the platform for display.
· Audio decoding into PCM: Extensions to the existing native audio API based on Khronos OpenSL ES let native apps decode compressed audio assets to PCM format.