샘플 둘러보기
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 섹션에서는 NDK와 함께 제공되는 여러 가지 샘플 앱에 대해 설명합니다. 여기서는 독자가 Java와 네이티브 코드에 대한 실무 지식을 이미 갖추고 있는 것으로 가정하고, NDK로 작업하는 문제에 집중해서 설명하겠습니다.
이 섹션에서는 다음과 같은 샘플을 다룹니다.
- hello-jni: NDK의 핵심적인 작동 방식을 보여주는 기본적인 앱입니다.
- native-activity: 순수 네이티브 앱 구성 방법에 관한 기본사항을 보여주는 앱입니다. 특히 android_native_app_glue 라이브러리에 중점을 둡니다.
- Teapot: 간단한 OpenGL 데모로,
ndk_helper
클래스를 보여줍니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-26(UTC)"],[],[],null,["# Sample Walkthroughs\n\nThis section explains several of the sample apps provided with the NDK. It assumes that you already have a working knowledge of programming in Java and native code, and focuses on issues particular to working with the NDK.\n\nIt discusses the following samples:\n\n- [hello-jni](./md_2__samples_sample--hellojni.html): A very basic app that illustrates core workings of the NDK.\n- [native-activity](./md_2__samples_sample--nativeactivity.html): An app that shows the fundamentals of how to construct a purely native app. It places particular emphasis on the android_native_app_glue library.\n- [Teapot](./md_2__samples_samples-teapot.html): A simple OpenGL demo, showcasing the `ndk_helper` class."]]