2

I downloaded and build the libraries from pjSIP for Android. It generated some static libraries (.a-files, 19 of them, to be precise), and I implemented them in my project, following this answer. My project structure looks like this now:

enter image description here

|--app:
|--|--src:
|--|--|--main
|--|--|--|--jniLibs
|--|--|--|--|--armeabi
|--|--|--|--|--|--.a Files 

I would like to use classes and methods within this libraries now, as an example, I would like to use the examples shown here in the pjSIP documentation in Java. For example:

Endpoint ep = new Endpoint();

How can I achieve this, what am I missing here?

Community
  • 1
  • 1
Tristus
  • 183
  • 1
  • 2
  • 15
  • Since I am pretty new here, I would apreachiate to know whats wrong with my question instead of simply getting downvoted :/ – Tristus Mar 09 '15 at 11:50
  • I do not know why the downvote, Android studio does not have support NDK, if you need build the code you must to use the eclipse. – Anderson K Mar 09 '15 at 12:02
  • Do you have any good tutorial on how to do this? I am pretty new on working with libraries, have never done this before. – Tristus Mar 09 '15 at 12:04
  • See here : https://www3.ntu.edu.sg/home/ehchua/programming/android/Android_NDK.html – Anderson K Mar 09 '15 at 12:09

0 Answers0