Samples: Walkthroughs

This section provides detailed walkthroughs of several key samples. The samples are as follows:

  • hello-jni: A very basic app that illustrates core workings of the NDK.
  • native-activity: An app that shows the fundamentals of constructing a purely native app. It places particular emphasis on the android_native_app_glue library.
  • Teapot: A simple OpenGL demo, showcasing the ndk_helper class.
  • Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

    Last updated 2026年03月06日 UTC.