Android developers get native-code kit

Summary:The Android Native Development Kit allows application writers to reuse code in native languages such as C and C++, making it possible to write certain kinds of high-performing apps

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."

Topics: Networking

About

David Meyer is a freelance technology journalist. He fell into journalism when he realised his musical career wouldn't be paying many bills. His early journalistic career was spent in general news, working behind the scenes for BBC radio and on-air as a newsreader for independent stations. David's main focus is on communications, of both... Full Bio

Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.

Related Stories

The best of ZDNet, delivered

You have been successfully signed up. To sign up for more newsletters or to manage your account, visit the Newsletter Subscription Center.
Subscription failed.