Google's Android gets native development capabilities
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.
[ Keep up with the latest news affecting developers in InfoWorld's Developer World channel. | And follow app dev issues and trends with InfoWorld's Fatal Exception and Strategic Developer blogs. ]
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.
InfoWorld
Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world
On Twitter now
On Twitter now
Brian Proffitt
Microsoft/Novell: Breaking Down the Coupon Numbers
Esther Schindler
Drupal's Dries Buytaert on Building the Next Drupal
Tom Henderson
Top Ten General Operating Systems Rants
pasmith
PS3 motion controller delayed; goes up against Project Natal
sjvn
Neolithic Windows security hole alive and well in Windows 7
claird
Perl source code comparison makes for good reading
mikelgan
Cell phones don't create stress or interrupt much
Sandra Henry-Stocker
How to: The Unix Interview
Where Google Chrome security fails: the password
I heard mention that the Chrome OS will have some sort of encryption available a la bitlocker. If it's possible to encrypt personal data using another password or key, then it may have potential for very secure data.... And Ubuntu has an 'encrypt home directory' option, perhaps google should follow suit.
- Dann
Join the conversation here
Quick, practical advice for IT pros. Made fresh daily.
- Ubuntu advances: Why Ubuntu server installations will surge in 2010
- Social media marketing: How to make friends with benefits
- More...
Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.






