Google's Android gets native development capabilities

By Paul Krill, InfoWorld |  Development, 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

    DevelopmentWhite Papers & Webcasts

    White Paper

    HP NonStop SQL Fundamentals whitepaper

    This whitepaper offers a detailed look into the fundamentals of HP NonStop SQL solutions. See how this system delivers unprecedented levels of application availability with fail-safe data integrity and meets the needs of enterprises with large-scale business critical applications.

    White Paper

    Nebraska Medical Center case study

    See how the Nebraska Medical Center implemented a SQL solution to make information more readily available to streamline operations, improve patient care and facilitate medical research with an enterprise solution running on HP NonStop servers.

    White Paper

    Concepts of NonStop SQL/MX

    For DBAs and developers who are familiar with Oracle solutions and want to learn about NonStop SQL/MX, this whitepaper provides an overview of the similarities and differences between the two products-with a specific focus on implementation.

    White Paper

    6 Things Your CIO Needs to Know About Requirements

    If your organization is not predictably successful on technology projects, there is likely an issue in requirements. CIOs must take action and own requirements maturity improvement. There are 6 main things a CIO must know about requirements.

    Webcast On Demand

    User Experience Monitoring

    In this webinar, you will learn hints & tips for improving end-user response times from Forrester Research analyst, Jean-Pierre Garbani.

    Sponsor: Nimsoft

    See more White Papers | Webcasts

    Ask a question

    Ask a Question