안드로이드 - NDK 사용법
안드로이드 / 2017. 2. 18. 23:30
Android API level XX
레벨 = 추가기능
"사용하고자 하는 기능"이 있는 레벨 이상으로 설정해주어야 한다.
예) 미디어플레이어 제작하려면, 레벨14이상 필요하다.
자세한 내용은 Android NDK Native APIs 에서 확인가능하다.
또한, 각 API레벨을 사용하기 위해서는 Android.mk 파일에 아래와 같은 내용을 추가해주어야 한다. 그러나, 자동으로 링크가 된다고 설명되어 있다. 어느것이 맞는지는 모르겠음.
For all API levels, the build system automatically links the standard C libraries, the standard C++ libraries, real-time extensions, and pthread
; you do not need to include them when defining your LOCAL_LDLIBS
variable. For more information about the C and C++ libraries, see Android API level 3.
LOCAL_LDLIBS += -lOpenMAXAL //Android API level 14
Android API level 9
Android native application APIs
Starting from API level 9, you can write an entire Android app with native code, without using any Java.
아래의 경로에 가면, 안드로이드 NDK(JNI)헤더파일이 있다.
..\ANDROID\ANDROID-NDK-R13B\platforms\android-12\arch-x86\usr\include\android
api-level.h
asset_manager.h
asset_manager_jni.h
bitmap.h
configuration.h
dir.bat
input.h
keycodes.h
list.txt
log.h
looper.h
native_activity.h
native_window.h
native_window_jni.h
obb.h
rect.h
sensor.h
storage_manager.h
window.h
Android API level 14
The NDK provides the following APIs for developing native code that runs on Android 4.0 system images and above.
OpenMAX AL
Vulkan - Industry Forged - Khronos Group
https://www.khronos.org/vulkan/이 페이지 번역하기
Vulkan is a new generation graphics and compute API that provides high-벌컨 (API) - 위키백과, 우리 모두의 백과사전
https://ko.wikipedia.org/wiki/벌컨_(API)
벌컨(Vulkan)은 오버헤드가 적은 크로스 플랫폼 3D 그래픽스 및 컴퓨팅 API이다. 이는 GDC 2015에서 크로노스 그룹에 의해 처음으로 소개되었다. 초기의 Vulkan ...Vulkan (API) - Wikipedia
https://en.wikipedia.org/wiki/Vulkan_(API)이 페이지 번역하기
Vulkan is a low-overhead, cross-platform 3D graphics and compute API first announced at GDC 2015 by the Khronos Group. The Vulkan API was initially ...'안드로이드' 카테고리의 다른 글
안드로이드 - NDK - ANativeWindow_Buffer (0) | 2017.02.18 |
---|---|
안드로이드 - Looper (0) | 2017.02.18 |
안드로이드 - assets 폴더 (0) | 2017.02.05 |
ant로 안드로이드 앱을 자동으로 빌드하자 (0) | 2017.02.04 |
안드로이드 - keystore 파일 (0) | 2017.02.04 |