Check the archives on the android-ndk list, e.g.:

  
http://groups.google.com/group/android-ndk/browse_thread/thread/36a4d13cb0d4bc26#
  
http://groups.google.com/group/android-ndk/browse_thread/thread/a610cfe73aa2618e/c27be634e3305304

On Aug 4, 12:23 am, frog <bluewater0...@gmail.com> wrote:
> Hi,all
>     Have some tryed to pas databuffer on android by jni?I have a
> native method like this:
> int foo(void * buffer,  //(out param) the point to the buffer
>            int *buffersize  //(out param) the point to the buffer size
> {
>     a = foo();
>     b = foo1();
>     return 0;}
>
> And I want to use it in android application to pass the buffer data to
> the application,How can I do this?
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to