On Aug 6, 12:10 am, frog <[email protected]> wrote:
> I am very sorry.I don't know very well about jni,and I still don't
> know the way to pass the data buffer
> (point of void *)from native code to the android application.Could you
> give me further explanation or give a example to do this.I have read
> some document about jni,but it seems android's jni is difference with
> stand java jni.so,I don't know how to to archive this without the
> document.Thanks in advance.

There are very few differences between Dalvik's JNI and others.

Programmer's Guide (a book on JNI):
  http://java.sun.com/docs/books/jni/html/jniTOC.html

JNI spec:
  http://java.sun.com/javase/6/docs/technotes/guides/jni/spec/jniTOC.html

Android-specific JNI tips:
  
http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=docs/jni-tips.html;hb=HEAD

--~--~---------~--~----~------------~-------~--~----~
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