Results 1 to 2 of 2
- 02-03-2010, 11:49 AM #1
Member
- Join Date
- Jan 2010
- Posts
- 10
- Rep Power
- 0
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 recevieJava Code:public native void foo(......., ........, String args[]);
Do anyone know how to get the C char strings from jobjectArray? Thats my problem... thanks for advice...Java Code:....., 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....
Sungron :)
- 02-04-2010, 09:30 PM #2
Member
- Join Date
- Jan 2010
- Posts
- 10
- Rep Power
- 0


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks