Now available: Android 1.6 NDK
25 Jul 2009 // no comments // Mobile Development
Today Android 1.6 NDK, release 1 is available for download from the Android developer site.
To recap, the NDK is a companion to the SDK that provides tools to generate and embed native ARM machine code within your application packages. This native code has the same restrictions as the VM code, but can execute certain operations much more rapidly. This is useful if you’re doing heavy computations, digital processing, or even porting existing code bases written in C or C++.
If you already use the Android 1.5 NDK, upgrading to this release is highly recommended. It provides the following improvements:
- The ability to use OpenGL ES 1.1 headers and libraries
If your application targets Android 1.6, your native code can now directly call OpenGL ES 1.1 functions to perform graphics rendering. This will help those programs that need to send large amounts of vertex data to the GPU. Note, however, that activity lifecycle and surface creation must still be performed from the VM. This NDK contains a new sample (“san-angeles”) that shows exactly how to do that with a GLSurfaceView object. - The ability to target either Android 1.5 or 1.6 devices
The NDK parses your project’s properties to know which platform release it is targeting. It will then automatically use the proper headers and libraries to generate your native code. Any application that targets 1.5 will run on Android 1.5, Android 1.6 and any future official system release. Targeting 1.6 should, thus, only be done if your application requires new 1.6 features / APIs, like the ability to call OpenGL ES 1.x headers from native code. - The ability to put your native sources under your application’s project tree
You can now conveniently place all your sources (C, C++ and Java) under the same tree, for editing or version control purposes. - Many fixes to the NDK’s build scripts
The changes to the build scripts fix some annoying bugs and also increase host system compatibility.
If you have any questions, please join us in the Android NDK forum.
View full post on Android Developers Blog
Tags: ability, all, Android, android 1.5, android 1.5 vs 1.6, android 1.6 ndk, android audio processing, android camera ndk, android ndk, android ndk audio, android ndk audio processing, android ndk c, android ndk c sample, android ndk camera, android ndk example, android ndk first release date, android ndk opengl, android ndk opengl sample, android ndk porting c, android ndk sample, android opengl ndk, android opengl ndk sample, android surface creation, annoying bugs, Application, application targets, arm machine, audio in android ndk, Available, C, code on new applications on opengles in android, Code..., control purposes, Droid, example c program android ndk, Google, native sources, nba league pass 1.5, nba league pass android 1.5, NDK, ndk android download, ndk c example, ndk opengl, ndk sample, nexus one ndk, OpenGL, Project, proper headers, proxy, Release, sources c, surface creation, System, system compatibility, tree, vertex data
This entry was posted on Saturday, July 25th, 2009 at 8:40 pm and is filed under Mobile Development. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.