How to build pjsip based CsipSimple Dialer for Android on Mac (Step By Step)
This is the blog post for the developer who were struck in developing or wish to develop “pjsip based CsipSimple Dialer for Android“. As there was no proper guidance for developing the project at once place, I want to share our experiences in a form of Step by Step. Read more…
Since it is not a good idea to choose windows platform to build pjsip based CsipSimple, we preferred Macintosh.
You need to install pjsip based CsipSimple Dialer for Android. I recommend you to update macports using “sudo port selfupdate” command.
The project requires some dependencies to be installed before compiling csipsimple. Install following dependencies one by one or all at a time.
#sudo port install quilt
#sudo port install gsed
#sudo port install subversion
#sudo port install unzip
#sudo port install wget
#sudo port install python
#sudo port install make
#sudo port install yams
#sudo port install swig-java
#sudo port install svn
.Install swig2.0 and create a symbolic link
#sudo port install swig
#sudo ln -s <path_to_swig> /opt/local/bin/swig2.0
Confirm the swig version with “swig2.0 -version “ or “swig –version” command
The next step is preparing android development environment on mac .
Downlaod ADT bundle which comes with eclispse and SDK
Install Adt Bundle . Download from here http://developer.android.com/sdk/index.html
Extract it to somewhere in a directory on your home directory or desktop and name it something like Development
Download android NDK and extract it to Same directory ( ofcourse you can keep it anywhere but must define path later )
Add the environment paths for these directories so that console can execute
Run these from terminal directly or edit ~/ .profile and add it to that
#export ANDROID_NDK=/—PATH TO NDK directoty—
#export ANDROID_SDK=——PATH TO adt-bundle/sdk—
#export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools:$ANDROID_NDK
It’s time to check out cisipsimple source code as well as ActionBarSherlock
#svn checkout http://csipsimple.googlecode.com/svn/trunk/CSipSimple/ CSipSimple
#svn checkout http://csipsimple.googlecode.com/svn/trunk/ActionBarSherlock ActionBarSherlock
Go into csipsimple directoy and build native libraries
# cd CsipSimple
#make
additionally you can make video libraries and codecpack if you want
make g729 optionally
The only issue we faced while building is SILK codec certificate error. We added –no-check-certificate before wget in MAKE script.
sources/SILK_SDK_SRC_ARM_$(silk_version) :
@wget $(silk_repo) –no-check-certificate; \
After successfully build native libraries, you can open ecilipse and right click choose import existing android project.
Select SipHome and ActionBarSherlock as build projects .
Now right click on SipHome and make sure SDK version exist in our android SDK library .
And add ActionBarSherlock in SipHome Properties- Java Buidl Path àProjects
Now its time to build and run the project.
Finally, it’s done.
If you struck at any step or need any assistance in developing any unified communication and collaboration projects, please feel free to contact us
I have a error, but solved,
http://stackoverflow.com/questions/25418617/error-building-csipsimple-for-android
Hi , good to know that you got it fixed .
Yes Microsoft not allowing direct download of SILK packages now .