Version 6 (modified by ming, 12 years ago) (diff) |
---|
Getting Started: Building for Android
TracNav
Getting Started- Moved to: https://docs.pjsip.org/en/latest/index.html#get-started
Preparation
Build for Desktop
Build for Mobile
- iOS: Apple iPhone, iPad, and iPod Touch
- Android
- BlackBerry 10 (BB10)
- Windows Mobile
- Windows Phone 8.x and UWP
Symbian...
- Build for Other
Next: Using the libraries
See Also
Android target is currently available in Android branch and currently still experimental.
Requirements
You need Android NDK.
Building PJSIP
Get the source code, if you haven't already.
Just run:
$ cd /path/to/your/pjsip/dir $ export ANDROID_NDK=/path_to_android_ndk_dir $ ./configure-android $ make dep && make clean && make
Notes:
- the ./configure-android is a wrapper that calls the standard ./configure script with settings suitable for Android target.
- you may pass standard ./configure options to this script too.
- for more info, run ./configure-android --help
- other customizations are similar to what is explained in Building with GNU page.
Since PJSIP on Android is still experimental, please also have a look at:
- csipsimple project, an Android port of pjsip.