The Wireless Industry News Portal Advertise on Wireless Industry News and reach over 300,000 potential new buyers. Click here to learn more.
Post a News Story        Resources        News Archives        Home
Get your Linux or Windows dedicated server today.



Wireless Industry News is read by over 300,000 people a month. Learn how you can increase your sales by advertising on our news portal -- Click here.

Install your server in Sun Hosting's modern colocation center in Montreal. Get all the details by clicking here.

Integrating native code into mobile apps written for Android

Add to del.icio.us     Digg this story Digg this

Jun. 27, 2009

Mobile application developers can now easily integrate native code into wireless applications and MIDs (mobile Internet devices) written for the Android operating system using Google's new NDK (native development kit).

Officially announced June 25 on the Android developers blog, the new Android 1.5 NDK doesn't actually allow mobile developers to run completely native code on MIDs. Instead, it supports adding native code into applications written to run in Dalvik virtual machine (DVM) instances.

The NDK lets Android developers execute parts of DVM-bound apps using native-code languages such as C and C++.

However, there are some drawbacks to this method. The announcement warns developers that the NDK isn't for everybody. "As a mobile apps developer, you will need to balance its benefits against its drawbacks, which are numerous," reads the blog announcement.

"Your application will be more complicated, have reduced compatibility, have no access to framework APIs, and be harder to debug," it went on to say.

Some mobile apps 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 various data processing tasks.

Google's announcement also details some of the pros and cons in their ordering of using the NDK.

The addition of the Android 1.5 NDK to the 'droider's arsenal indicates that the Android team is working to attract more mobile apps developers to the platform - particularly Symbian developers, or possibly iPhone developers who have seen their hard work disappear into the horde of 50,000 apps now clogging the iTunes App Store.

Overall, if you're a mobile apps developer with sufficient experience to battle some obstacles outlined above, the Android team has set up a forum where you can swap notes with other native-code 'droiders'.

Add to del.icio.us     Digg this story Digg this

This article was featured on the Business 5.0 portal. Click here to visit the site.     This article was featured on Business 5.0 and on Tech Blog.

Source: Google.




home | news archives | resources | advertise with us

Copyright © Wireless Industry News. All rights reserved.