ARN

Google's Android gets native development capabilities

Mobile platform complements Java with C, C++ coding
Paul Krill (InfoWorld)  29 June, 2009 08:03:00

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.

Newsletters
Sign up for our ARN newsletters!

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Enter the fully qualified URL, eg. http://www.example.com/
Users posting comments agree to the ARN comments policy.
Login or register to link comments to your user profile, or you may also post a comment without being logged in.
Syndicate content Syndicate content
 
ARN Vendor Directory
Jobs
ARN Library

Microsoft Anti-Piracy Infringement Alert

The Microsoft Anti-Piracy Newsletter outlines what Microsoft is doing to protect your business from Software Piracy and highlights recent legal action taken against those who infringe our copyright.

Subscribe to ARN

ARN has been the premier provider of information to the Australian IT channel for more than 12 years. As the only weekly publication dedicated to the channel, ARN produces timely, accurate news and analysis about IT business issues, products and services, new technology and market opportunities.