Google has just released Android Native Development Kit Revision 7, the Android SDK that allows developers to reuse C/C++ code. This version adds new native APIs available in Android 4.0.
Here’s the changelog of the most important new features and bug fixes:
- NDK APIs for Android 4.0 (API level 14):
- 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.
- 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.
- CCache support to allow faster rebuilds.
- Added support for setting
allto indicate that you want to build your NDK modules for all the ABIs supported by your given NDK release.
- Imported shared libraries are now installed by default to the target installation location (
APP_MODULESis not defined in your
ndk-gdbnow works correctly for activities with multiple categories in their MAIN intent filters.
- Static library imports are now properly transitive. For example, if a top-level module
fooimports static library
barthat imports static library
libfoo.sowill now be linked against both
You can download Android NDK version 7 to take advantage of the latest API and bug fixes.