[android-developers] Re: Using JNI to call C lib on android platform

2009-02-04 Thread Android development
I find the folder in android source code: frameworks\base\media\jni I think thats the one you want. you can use the code as sample. For example, the code below defined all the methods of class MediaPlayer: static JNINativeMethod gMethods[] = { {setDataSource, (Ljava/lang/String;)V,

[android-developers] Re: Using JNI to call C lib on android platform

2009-02-04 Thread Dianne Hackborn
Native code is not supported in the current SDK. Please take this dicussion off this list. Thanks. On Wed, Feb 4, 2009 at 6:53 AM, Android development smu...@gmail.comwrote: I find the folder in android source code: frameworks\base\media\jni I think thats the one you want. you can use the