サンプル: 概要
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
NDK のサンプルページへようこそ。このページでは、NDK を深く理解するために役立つさまざまなサンプルアプリをダウンロードできます。
NDK のサンプル
このページから NDK の実際の動作を確認できるサンプルをダウンロードできます。次のトピックについて学ぶことができます。
- ネイティブ アプリのアクティビティ ライフサイクルの管理
- Android デバイスでのネイティブ OpenGL の使用
- ネイティブ オーディオの実装
- モジュールのエクスポート
Vulkan のサンプル
Vulkan のサンプルは、NDK の他の部分とは別に配置されています。これらのサンプルを見るには、以下のリンクをクリックしてください。
Google Play ゲームのサンプル
Google Play ゲームサービスの C++ SDK のサンプルは、Android アプリの開発でこれらのサービスを使用する方法を紹介するためのものです。サンプルを見るには下のリンクをクリックしてください。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],[],null,["# Samples: Overview\n\nWelcome to the NDK samples area. Here, you can download a variety of sample\napps to help deepen your understanding the NDK.\n\nNDK Samples\n-----------\n\nFrom this page, you can download samples that provide a look at the NDK in action. A few of the\ntopics covered are:\n\n- Managing your native app's activity lifecycle.\n- Using native OpenGL on an Android device.\n- Implementing native audio.\n- Exporting modules.\n\n[Browse NDK samples on GitHub](https://github.com/android/ndk-samples/tree/main)\n\nVulkan Samples\n--------------\n\nVulkan samples are located separately from those for the rest of the NDK. To explore these\nsamples, click on the link below. \n[Browse Vulkan samples on GitHub](https://github.com/LunarG/VulkanSamples)\n\nGoogle Play Games Samples\n-------------------------\n\nThe Google Play games services C++ SDK samples illustrate how to use these services when building\nyour Android apps. To explore these samples, click on the link below. \n[Browse Google Play Games C++ SDK samples on GitHub](https://github.com/playgameservices/cpp-android-basic-samples)"]]