Google's Android gets native development capabilities

By Paul Krill, InfoWorld |  Mobile & Wireless, Android, Google Add a new comment

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.

    Add a comment

    Post a comment using one of these accounts
    Or join now
    At least 6 characters

    Note: Comment will appear soon after you have activated your account.
    Obscene/spam comments will be removed and accounts suspended.
    The information you submit is subject to our Privacy Policy and Terms of Service.

    ITworld LIVE

    Mobile & WirelessWhite Papers & Webcasts

    White Paper

    Ten Steps to an Enterprise Mobility Strategy

    Enterprise employees are more mobile, relishing the ability to work productively anywhere, at any time. They may use any means to get connected, often creating financial and security risks for your company. Discover how to get control of your enterprise mobility strategy and ensure mobile worker productivity with these ten steps.

    White Paper

    What You Need to Know About the Costs of Mobility

    Mobile workers want to get connected anywhere, at any time, often at any cost. Enterprise mobility is often a hidden "black" budget in your company. Ensure that your traveling employees are productive everywhere, even while you control cost and security, through an enterprise mobility strategy.

    White Paper

    The 2011 iPass Mobile Enterprise Report

    This industry survey covers trends, recommendations and a policy guide on managing Enterprise Mobility for IT management and CIOs. Get data on employee device liability, as well as smartphone/tablet penetration, budget control and provisioning. Find out how your organization compares, how to ensure mobile worker productivity, and control costs.

    Webcast On Demand

    Managing Enterprise Mobility Costs

    Mobile employees, especially those traveling internationally, were spending time and resources finding and making connections. Roaming costs were out of control. The IT Administrator at The Hay Group tells you how he got more control over these costs, providing management with predictable budgets and insights while ensuring employee productivity.

    Sponsor: iPass

    White Paper

    Digital Transformation: Creating New Business Models Where Digital Meets Physical

    Individuals and businesses alike are embracing the digital revolution. Social networks and digital devices are being used to engage government, businesses and civil society, as well as friends and family.

    See more White Papers | Webcasts

    Ask a question

    Ask a Question