Android development kit goes native

Good to C you

By David Meyer, 26 June 2009 16:07

NEWS

A native application development kit has been released for Android developers, offering a way to create certain kinds of high-performing applications for handsets running the platform.

Android applications run through the Dalvik virtual machine, which emulates a Java virtual machine.

On Thursday, the Android Native Development Kit (NDK) was released, allowing coders to create parts of their Android 1.5 applications outside Dalvik, using native-code languages such as C and C++.

This approach would not ordinarily produce a massive performance boost but it does allow developers to reuse existing C and C++ code for Android applications.

Android engineer David Turner wrote in a blog post that the NDK, which is an adjunct to the standard Android software development kit (SDK), could be used for writing higher-performing applications, but also had its drawbacks.

"Your application will be more complicated, have reduced compatibility, have no access to framework APIs, and be harder to debug," Turner wrote.

"That said, some applications that have self-contained, CPU-intensive operations that don't allocate much memory may still benefit from increased performance and the ability to reuse existing code. Some examples are signal processing, intensive physics simulations, and some kinds of data processing."

Post your comment

In order to post a comment you need to be registered and logged in.

Log in or create your silicon.com account below

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy.

Questions about membership? Find the answers in the Membership FAQ