what do you mean by "all the data"?
In android, JNI is nothing special at all. use GetFieldID to access
java class members.
Hope this helps!

On Oct 10, 4:07 pm, 杨辉 <[email protected]> wrote:
> hi,everybody,
>          i have a question about jni.
>          it is an android project. i want to pass all the data from java to
> the native code (c).
>          for example, if now i have an object of the class A, How can i get
> the left/top/right/bottom value of the Rect in the native code?
>          thank you !
>
>          java code:
>
>          class A{
>                  Rect mrect;
>
>          }
>
> --
> 杨辉

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to