I have a Java method which takes a String as parameter and returns a double array. I am calling it using CallObjectMethod from native code. How do I receive that double array that the Java method is returning and how do I convert it to a normal(C/C++) double array.
Share
JNI has a
jdoubleArraytype that’s returned when you call this method. So something like this:And then you can directly use the members of
element