I try to work on Android NDK, my first test are not very conclusive, I need for help because I don\'t see where is my error.
The following code compiles without problem
What you have looks okay to me... but you might try replacing
jclass clazz = env->FindClass("com/test/jnitest/JNITestActivity");
With
jclass clazz = env->GetObjectClass(obj);