java-native-interface
Unsatisfied Link Error Help Java JNI Eclipse
Hi I am trying to run a project in eclipse and am getting the runtime error: Exception in thread \"main\" java.lang.UnsatisfiedLinkError: mywrapperclass.nativemethod()V[详细]
2023-03-30 21:52 分类:问答How to generate crash dumps for JNI code
everyone, Suppose I have a simple JNI program in Windows: int* p = NULL; *p = 5; When run it from JVM,not like normal C++ application, JVM will nicely catch such hard exception and do some cleanup[详细]
2023-03-30 10:06 分类:问答How to access /res/raw from JNI / NDK C++ code?
Does anyone know how to access a resource from the res/raw folder within an APK from JNI C++ code, or what path it would be when accessed via shell?[详细]
2023-03-30 08:17 分类:问答relative paths for shared libraries
I\'m working with JNI. I have a wrapper library (wrapper.so) that uses two shared libraries: one.so and two.so[详细]
2023-03-30 07:56 分类:问答Retrieve android.os.Build.... system properties via purely native Android app
I have a purely native Android NDK app, and need to retrieve values such as: android.os.Build.MODEL Unfortunately I cannot find good examples of how to go about this开发者_如何学C? These values are e[详细]
2023-03-30 06:53 分类:问答Multiple GLSurfaceView moving at the same time
I am facing an strange issue not sure why this is happening. I have a Java based Activity which has a LinearLayout. This LinearLayout consists of two GLSurfaceView. All the associated methods of GLSu[详细]
2023-03-29 13:30 分类:问答Android Java JNI and C Char array Can't recognize the value
I tried to pass the char array from java to c. I have googled the way to implement it. But when I tried to acc开发者_开发百科ess the value of the array, the value was not correct.[详细]
2023-03-29 09:11 分类:问答Can you cache JNIEnv?
Is it safe to cache a JNIEnv object across multiple JNI calls? For example, can I d开发者_运维技巧o something like[详细]
2023-03-29 06:43 分类:问答Problem with AudioTrack
Hello I wrote a program (on Android NDK), which gives audio buffer through JNI in Java. The problem of instability. Sometimes AudioTrack perfectly reproduces the buffer, and sometimes there are these[详细]
2023-03-29 04:12 分类:问答Extending my Java API to C++ through JNI: How to wrap a method returning a String?
I am using JNI to extend my API in Java, in order to make it accessible through C++ (I am creating wrapper classes). I am experienced in Java but new to C++.[详细]
2023-03-29 01:14 分类:问答
加载中,请稍侯......