Android native development kit updated

OpenGL ES 2.0 added to package enabling developers to build performance-critical parts of an app in native code

By Paul Krill, InfoWorld |  Development, Android NDK, google android Add a new comment

Developers of the Google-backed Android mobile application platform have released revision 3 of Android NDK (Native Development Kit), which complements Android SDK by enabling developers to build performance-critical portions of an application in native code.

Release of NDK r3 was noted in a posting on the Android Developer Blog on Monday.

[ InfoWorld's Galen Gruman says that versions run amok will be the downfall of Google Android. ]

Version 3 includes OpenGL ES (Open Graphics Library for Embedded Systems) 2.0 native library support. Also featured is a sample application making use of OpenGL ES 2.0 vertex and fragment shaders.

"[OpenGL ES 2.0] brings the ability to control graphics rendering through vertex and fragment shader programs using the GLSL shading language," said David Turner, a member of the Google technical staff, in the Android Developer Blog.

Native libraries in Android NDK can be used on devices running the Android 1.5 platform or later, because toolchain and ABI-related changes made native libraries incompatible with 1.0 and 1.1 system images.

"Android applications run in the Dalvik virtual machine. The NDK allows you to implement parts of your applications using native-code languages such as C and C++. This can provide benefits to certain classes of applications, in the form of reuse of existing code and in some cases increased speed," according to an Android Web page.

With version 3, toolchain libraries has been refreshed with GCC (GNU Compiler Collection)  4.4.0, to generate more compact and efficient machine code, Google said.

Compiler support is featured for ARMv5TE machine instructions. System headers are featured for stable native APIs, documentation and sample applications.

"The NDK will not benefit most applications," according to the Android developer page. " As a developer, you will need to balance its benefits against its drawbacks; notably, using native code does not result in an automatic performance increase but does always increase application complexity. Typical good candidates for the NDK are self-contained, CPU-intensive operations that don't allocate much memory, such as signal processing, physics simulation, and so on. Simply re-coding a method to run in C usually does not result in a large performance increase. The NDK can, however, can be an effective way to reuse a large corpus of existing C/C++ code."

Downloadable from the Android Web page, the NDK features compilers, linkers and other technologies to generate native ARM libraries on Linux, Mac OS X and Windows platforms.

This story, "Android native development kit updated," was originally published at InfoWorld.com. Follow the latest developments in software development at InfoWorld.com.

Read more about developer world in InfoWorld's Developer World Channel.


Originally published on InfoWorld |  Click here to read the original story.

    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

    Answers - Powered by ITworld

    Ask a question

    Ask a Question