3 Unanswered Topics

Remove Filter
Member Avatar for
Member Avatar for nitin1

Hi, I have been working on JNI. I have one doubt. When I call any native method from android activity (Java code), then we get jclass object from jobject instance we get in the native method as a parameter. Why do we need it actually? Here is a snippet from …

0
178
Member Avatar for stid

Hi, I obtain the next error when I try debug the code and it is stoped. [QUOTE]ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2 JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820][/QUOTE] Can you help me, please? Thank you very much cordial greetings. stid

0
126
Member Avatar for deepak.marur

Hi all, I've a curious problem with jni invocation. The explanation follows.. I have two pieces of code...a test stub, which is basically a stand alone java program and another the same code integrated into a component (the main function replaced by a static function). The code makes a jni …

0
84

The End.