![]() For all development platforms, GNU Make 3.81 or later is required.Required development tools for Android NDK Linux (32 or 64-bit Ubuntu 8.04, or other Linux distributions using GLibc 2.7 or later).Windows XP (32-bit) or Vista (32- or 64-bit).Supported operating systems for Android NDk Android 1.5 SDK or later version is required.A complete Android SDK installation (including all dependencies) is required.If you have not already installed and setup the Android SDK, please do so before downloading the NDK. The NDK is designed for use only in conjunction with the Android SDK. System Requirements for Android NDK Installation You cannot access features such as Services and Content Providers natively, so if you want to use them or any other framework API, you can still write JNI code to do so. Applications that use native activities must be run on Android 2.3 (API Level 9) or later. You can implement the callbacks in your native code to handle these events when they occur. The Android SDK provides the NativeActivity class, which is a convenience class that notifies your native code of any activity lifecycle callbacks (onCreate(), onPause(), onResume(), etc). Write a native activity, which allows you to implement the lifecycle callbacks in native code. ![]() You can install applications that use native code through the JNI on devices that run Android 1.5 or later. This technique allows you to take advantage of the convenience of the Android framework, but still allows you to write native code when necessary.
0 Comments
Leave a Reply. |