Sorry, I cannot figure out a way to move this thread to the platform list. So I have to post here for now. And maybe more people will go this list and try to find a answer about JNI?
And I searched the platform list by keyword "jni", but didn't find the complete example. Anyone can help to give a link here? Thanks. On Jan 8, 1:11 pm, "Dianne Hackborn" <hack...@android.com> wrote: > Since native code is not currently supported in the SDK, could you please > move this to one of the platform lists? Thanks. > > Btw if you read the platform lists, there is now in the main tree a complete > example of implementing a native code library and a Java glue library that > uses JNI to call it. > > > > > > On Thu, Jan 8, 2009 at 1:05 PM, blues <bluescapt...@gmail.com> wrote: > > > Thanks. > > > I tried System.loadLibrary("mylib"); > > I got exception of unsatisfied link. > > > I tried both my lib (libmylib.so) and some libs under /system/lib. > > Both Dev1 and G1 phones. > > > On Jan 7, 7:13 pm, Dave Sparks <davidspa...@android.com> wrote: > > > You can download the Android source code from source.android.com and > > > build yourJNIlibraries against the gcc toolchain for testing. > > > > On Jan 5, 5:19 pm, blues <bluescapt...@gmail.com> wrote: > > > > > I have read all the post aboutJNI. And I knowJNIis not offcially > > > > supported and google is working on the native SDK and I have to wait. > > > > > But I really want to verify the performance of the native code now so > > > > I can know which direction to go before the native SDK release. > > > > > So may I know if the G1 or DEV 1 phone supportJNI? Just for test > > > > purpose on my own phone. > > > > > Blues- Hide quoted text - > > > > - Show quoted text - > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums, where I and others can see and answer them.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---