android apjsua how call pjsua_app.c from main_android.c function

view full story

http://stackoverflow.com – I am trying to implement apjsua example from pjsip http://trac.pjsip.org/repos/wiki/Getting-Started/Android I got everything working and I can add main_android.c functions and call them from Java.(JNI is working)problem is I could not figure out how to call pjsip.c library functions from main_android.c Any help will be very appreciated (HowTos)