concept NDK in category android

This is an excerpt from Manning's book Android in Action, Third Edition.
C language mastery on this platform is powerful because much of the C language development process involves porting existing, open source Linux code to the mobile platforms. This technique has the potential benefit of speeding up development for adding future functionality to Android by leveraging existing code bases. Chapter 19 examines the Android Native Developer’s kit (NDK). Using the NDK, programmers can leverage existing C code and map those routines to applications written in Java. This chapter doesn’t use the NDK, but rather looks at building standalone C applications capable of running on the Android platform.
NDK is a bolt-on, complementary tool chain to the core Android SDK that permits developers to create application functionality in the C programming language. The NDK isn’t meant to replace the SDK applications, but rather is designed to augment them. In fact, you can’t create a standalone application with the NDK. The NDK compiles code written in C into libraries that are callable by SDK-based Java code. The role of these native libraries is to provide additional functionality to the Java application. The NDK also handles all of the application packaging steps to make sure that the resulting APK file contains not only the Java code but the native code libraries as well.
Considering the power and breadth of the Android SDK, why would you bother with the NDK?
The NDK is a freely available download from the Android developer website at http://developer.android.com/sdk/ndk. Like the Android SDK, there are versions available for each of the supported platforms: Windows, Mac, and Linux. Installing the NDK is as simple as downloading the archive file and unzipping it into an accessible place on your development machine. Placing the NDK in a folder parallel to the SDK is a good idea.