June 26, 2009 5:53 AM PDT

Android developers get native-code kit

by David Meyer
  • Font size
  • Print
  • 6 comments

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

David Meyer of ZDNet UK reported from London.

Recent posts from Wireless
Online holiday sales hit $27 billion
Amazon touts top products of 2009
Leaked Nexus One documents: $530 unlocked, $180 with T-Mobile
Nokia hits Apple with latest patent complaint
Android and iPhone users not so different after all
AT&T resumes online iPhone sales in NY
GSM crypto code cracked, engineer says
AT&T ceases online iPhone sales in NY area
Add a Comment (Log in or register) (6 Comments)
  • prev
  • 1
  • next
by Remo_Williams June 26, 2009 6:45 AM PDT
Yeah, good job disallowing access to framework APIs. Wouldn't want anyone doing real RMI and stealing commercial fart-noise software from the Market.

Just a matter of time before Google really gets it and allows C/C++ developers a real shot at writing to the devices.

--#
Reply to this comment
by EmbSysPro June 26, 2009 7:51 AM PDT
Agreed,
This move make little sense and is just a placebo. But a placebo for who is the question? As a developer this has almost no appeal to me.
by puterhead June 26, 2009 7:04 AM PDT
^ And the adventure begins
Reply to this comment
by El_Segfaulto June 26, 2009 12:48 PM PDT
I'm just hoping the next step is a usable NES/SNES emulator.
Reply to this comment
by LarsBloodbeard June 26, 2009 7:15 PM PDT
Reduced portability and functionality, but far better performance...
What does this mean? One word: Games.

PS
"This approach would not ordinarily produce a massive performance boost"
If you don't know anything about a subject, you probably shouldn't make guesses, which turn out to be erroneous statements.
Reply to this comment
by hesiodsoftware July 4, 2009 6:55 AM PDT
Cool can't wait to start developing with it .
Maybe i will attach it to my own app <a href="http://www.hesiodsoftware.com" title="Home">Premember</a>
Reply to this comment
(6 Comments)
  • prev
  • 1
  • next
advertisement

15 sites that went kaput in 2009

Web sites launch all the time, but they also shut their doors. We highlight 15 that bit the dust this year.

Top 10 news stories of the decade

Let the debate begin: Was the iPhone more important than iTunes? Was anything bigger than Google finding a great business model? CNET offers its list of the 10 most important stories of the '00s.

About Wireless

Check out the latest wireless news on CNET News, featuring the latest news on cell phones, mobile gear, VOIP, and internet access via broadband and wireless connections.

Add this feed to your online news reader

Wireless topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right