Skip to content

Most visited

Recently visited


Samples: Overview

Welcome to the NDK samples area. Here, you can download a variety of sample apps to help deepen your understanding the NDK.

NDK Samples

From this page, you can download samples that provide a look at the NDK in action. A few of the topics covered are:

  • Managing your native app's activity lifecycle.
  • Using native OpenGL on an Android device.
  • Implementing native audio.
  • Exporting modules.

Vulkan Samples

Vulkan samples are located separately from those for the rest of the NDK. To explore these samples, click on the link below.

Google Play Games Samples

The Google Play Games Services C++ SDK samples illustrate how to use these services when building your Android apps. To explore these samples, click on the link below.

This site uses cookies to store your preferences for site-specific language and display options.


This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.