Hi Trung:
The JNI for running the unit tests in Android are check in. For example the JNI for running the sipXportLib unit tests is in:
sipXportLib/src/test/sipxportunit/unitJni.cpp
You can look at this for an example of how to call native code from Java.
SIPez has a commercially available Java package, that packages up sipXtapi as an Android Service that can be used from an Android Activity. It provided JNI for most of the functions need in sipXtapi to manage lines, calls and conferences. It was a significant amount of work to produce this package. So you may consider licensing it rather than building it
yourself.
Cheers,
Dan
From: Trung Tran <tranhuu...@gmail.com>
To: dpe...@SIPez.com
Sent: Thursday, May 10, 2012 10:29 PM
Subject: Help me call sipX library for android?
Hi!
I compiled sipX library (as a SIP stack and RTP library) for Android platform (it has created native libs for plugins myApp “pcre.so, sipXtapi.so”) . Can you tell me how to call native libs for android? if you have a document or demo for Sipxtapi on android, you can send for me. Thank you very much for your help.
--
========================================
Trung Tran Huu
Add: Ha Noi
Mobile: 0976387693
Email: tranhuu...@gmail.com
Skype: th.trung
YM: thtrung87