jvm - jobjectArray. How to get strng from it?
Okay, I have to add another native method, but this time I dont know how to do it... well....
In Java I have:
and In C I recevie
public native void foo(......., ........, String args);
Do anyone know how to get the C char strings from jobjectArray? Thats my problem... thanks for advice...
....., jobjectArray args)
PS: I tried with env->GetObjectArrayElement but I dont know how to:
1. get the lenght of jobjectArray
2. convert jobject (that represent one String?) to chars....