Hi Ming Hon You have to copy the library folders (armeabi and armeabi-v7a) into the "libs" folder of your Android project. The "jni" folder is for your C source code. The compiled libraries by themselves wont help you though. What you need is a Java API through JNI that allows you to use these libraries in Java. I made good experience generating JNI code with SWIG [0]. SWIG generates both the C and Java bridge out C code. But you can of course also write the JNI code by hand. Once you have your JNI wrappers ready you can load the library by using something like this in Java: static { System.loadLibrary("YOURLIBRARYNAME"); } You might want to start reading about JNI on Wikipedia [1]. Hope this helps. Best regards Fabian [0] http://www.swig.org/ [1] http://en.wikipedia.org/wiki/Java_Native_Interface On Mon, Oct 3, 2011 at 11:10 AM, ming hon <gminghon at hotmail.com> wrote: > Hi Dan, > > > Ya i wan to try to build from scratch and use pjsip libraries through jni. > > > after make dep && make i get the libraries files *.a which i dunno what to > do with it. > > > can i just copy all the *.a into the JNI folder? or create a makefile? > > > Thanks, > > minghon > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111003/ba004289/attachment.html>