Google has released a new version of its Android 4.0 NDK (native developer kit), and the latest version, which is version 7, lets developers who are using native code use some new native APIs which are available in Android 4.0 Ice Cream Sandwich.
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
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.
This new API is particularly beneficial for developers working on media-intensive applications. By leveraging the low-level streaming multimedia API, developers can optimize the performance of their applications, ensuring smoother playback and more efficient handling of media data. This is crucial for applications such as video streaming services, live broadcasting apps, and any other software that requires real-time media processing. The ability to apply proprietary encryption and decryption also adds a layer of security, making it suitable for applications that handle sensitive or copyrighted content.
Audio Decoding into PCM
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.
The extension of the native audio API to support audio decoding into PCM (Pulse Code Modulation) format is another significant enhancement. PCM is a raw audio format that is widely used in professional audio applications due to its high quality and uncompressed nature. By enabling native apps to decode compressed audio assets into PCM, developers can achieve better audio quality and more precise control over audio processing. This is particularly useful for applications such as music players, audio editing software, and any other app that requires high-fidelity audio playback.
In addition to these major updates, the Android NDK r7 also includes several build system improvements and bug fixes. These enhancements contribute to a more stable and efficient development environment, allowing developers to focus on creating high-quality applications without being bogged down by technical issues.
For developers looking to take full advantage of these new features, it is essential to stay updated with the latest tools and resources provided by Google. The Android Developers blog is a valuable resource for this purpose, offering detailed information and updates on the latest developments in the Android ecosystem.
You can find out more information about the new Android 4.0 NDK over at the Android Developers blog.
Make sure you read our Samsung Galaxy Nexus review to see what we thought of Android 4.0 Ice Cream Sandwich and the Galaxy Nexus.
Latest Geeky Gadgets Deals
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.