Android sdk ndk11/24/2023 Create an activity called " JNIActivity" with Layout name " activity_jni" and Title " Hello JNI". In this example, we shall create an activity, that calls a native method to obtain a string and displays the string on a TextView.Ĭreate an Android project called " AndroidHelloJNI", with application name " Hello JNI" and package " com.mytest". Study the sample programs provided in " samples" directory, in particular the " hello-jni". The SDK build tools will package the shared libraries in the application's deployable ".
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |