jbooleanArray -> char [ ]
843829Mar 6 2003 — edited Mar 6 2003Iam new to use jni & C so this is a simple question for you.
I got this:
JNIEXPORT void JNICALL test(JNIEnv *env, jobject obj, jbooleanArray y){
}
the native methode to call is this: callMe(char [50])
I have tried with this, but it's not working:
char *x = env->GetBooleanArrayElements(y,0);
callMe(x);