O'Reilly logo

Pro Android Apps Performance Optimization by Hervé Guihot

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What Is In the NDK?

The NDK is a set of tools you use to develop native code for your application. Everything is in a single directory, which you download as an archive file from http://d.android.com/sdk/ndk. For example, the Windows version of the NDK revision 6b contains these directories:

  • build
  • docs
  • platforms
  • samples
  • sources
  • tests
  • toolchains

A few files are also located at the root of the NDK directory:

  • documentation.html
  • GNUmakefile
  • ndk-build
  • ndk-gdb
  • ndk-stack
  • README.txt
  • RELEASE.txt

The NDK documentation is nowhere near as thorough as the SDK on http://d.android.com, so start by opening documentation.html with your favorite web browser. The README text file is also begging you so go ahead and oblige.

The NDK is a collection of six components: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required