Google's Android gets native development capabilities

Mobile platform complements Java with C, C++ coding

Google moved to boost its Android mobile device software platform this week by offering developers a kit that enables them to call native code from Android applications.

Android 1.5 Native Development Kit (NDK), Release 1 allows developers to implement parts of applications using native languages including C and C++. Android applications run in the Dalvik virtual machine, which is Google's own software for running Java and serves as Android's primary runtime.

The native kit is a companion to the Android SDK.

"Keep in mind that using the NDK will not be relevant for all Android applications. As a developer, you will need to balance its benefits against its drawbacks, which are numerous," according to a post in the Android blog. "Your application will be more complicated, have reduced compatibility, have no access to framework APIs and be harder to debug. 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."

Applications that are good candidates for the NDK include signal processing and physics simulation.

Also featured in the NDK is a way to embed corresponding native libraries into application package files that can be run on Android devices. Native system headers and libraries will be supported in future releases of the Android platform.

The 1.5 release of the kit supports the ARMv5TE machine instruction set.

Android is a project of the Open Handset Alliance, featuring Google.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags Google Android

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Krill

InfoWorld
Show Comments

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Tom Pope

Dynabook Portégé X30L-G

Ultimately this laptop has achieved everything I would hope for in a laptop for work, while fitting that into a form factor and weight that is remarkable.

Tom Sellers

MSI P65

This smart laptop was enjoyable to use and great to work on – creating content was super simple.

Lolita Wang

MSI GT76

It really doesn’t get more “gaming laptop” than this.

Jack Jeffries

MSI GS75

As the Maserati or BMW of laptops, it would fit perfectly in the hands of a professional needing firepower under the hood, sophistication and class on the surface, and gaming prowess (sports mode if you will) in between.

Taylor Carr

MSI PS63

The MSI PS63 is an amazing laptop and I would definitely consider buying one in the future.

Christopher Low

Brother RJ-4230B

This small mobile printer is exactly what I need for invoicing and other jobs such as sending fellow tradesman details or step-by-step instructions that I can easily print off from my phone or the Web.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?