Ask Your Question

K_T's profile - activity

2014-07-19 14:10:43 -0500 received badge  Scholar (source)
2014-07-19 12:22:52 -0500 received badge  Student (source)
2014-07-18 14:39:38 -0500 asked a question How pass Rect from Java code to Jni?

Hi :) I have a problem... How can I pass Rect object from Java to C ?

If I want pass Mat... I do something like this:


Mat mat = new Mat()


nativeMethod(JNIEnv * jenv, jclass, jlong matFromJava){
  Mat mat = *(Mat*)matFromJava;

but getNativeObjAddr() for Rect objects doesn't exist, so how can I do this?