Skip to content

Most visited

Recently visited

navigation

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.

Google High Performance Audio Samples

The Google high performance audio samples show how to use the AAudio API to build low latency high performance audio 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.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

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 short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)