The gdbserver shipped with the android-ndk has some really odd behaviour. The example below crashes instantly as soon as one step is taken, while running it without debugging works perfectly fine:
Can I pass a string from Java to my C++ routine using JNI function calls and modify its value in the C++ routine?
I have a C++ dll that contains methods that I need to use in a Java program. I\'ve been through all the Sun documentation on JNI, and numerous tutorials I found on the web, and I can\'t seem to find t
I have a VB6 ActiveX DLL with functions that return a Variant. The Variant contains an array of node Variants, each of which contains a string Name and two data arrays (string and double). I am attemp
By default, SWIG generates the JNI class with public visibility.Is there a way to specify that the JNI class is only accessible within th开发者_StackOverflow社区e package? I found a solution.The follo
I\'ve seen this question on here, tried the proposed fixes, but no success so far for me. I have quite some Java experience, but JNI is a long time ago, never did it on Linux though...
I am trying to pass a String to a native c function but the String gets pri开发者_开发知识库nted as 09▀30≈ß#@÷g for the String Type a String : . I don\'t know what the problem is .
We are facing an unusual problem, our JNI lib crashes at load time. we use CentOS 5.4/G++ and VS2005 for development.
I try to get the value in the Native class field mInt. This class is created by SimpleJNI. In this sample I set the mInt value to 9. JNI function add try to get the mInt value by using GetIntField. It
I need to implement some functions into an Android application using NDK and thus JNI. Here\'s the C code, with my concerns, that I wrote: