示例:演示
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本部分提供了多个重要示例的详细演示。相关示例如下:
hello-jni:用于说明 NDK 核心工作方式的非常基础的应用。
native-activity:用于展示关于构建纯原生应用的基础知识的应用。它重点介绍了 android_native_app_glue library
。
Teapot:用于展示 ndk_helper
类的简单 OpenGL 演示。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-01-10。
[null,null,["最后更新时间 (UTC):2024-01-10。"],[],[],null,["# Samples: Walkthroughs\n\nThis section provides detailed walkthroughs of several key samples. The samples are as\nfollows:\n\n\u003cbr /\u003e\n\n- [hello-jni](/ndk/samples/sample_hellojni): A very basic app that illustrates core workings of the NDK.\n- [native-activity](/ndk/samples/sample_na): An app that shows the fundamentals of constructing a purely native app. It places particular emphasis on the `android_native_app_glue library`.\n- [Teapot](/ndk/samples/sample_teapot): A simple OpenGL demo, showcasing the `ndk_helper` class."]]