5 | | pjsip on Android is not yet officially supported, have a look at: |
| 5 | |
| 6 | Android target is currently available in [https://svn.pjsip.org/repos/pjproject/branches/projects/android Android branch] and currently still experimental. |
| 7 | |
| 8 | == Requirements == |
| 9 | |
| 10 | You need Android NDK. |
| 11 | |
| 12 | == Building PJSIP == |
| 13 | |
| 14 | [wiki:Getting-Started/Download-Source Get the source code], if you haven't already. |
| 15 | |
| 16 | Just run: |
| 17 | {{{ |
| 18 | $ cd /path/to/your/pjsip/dir |
| 19 | $ export ANDROID_NDK=/path_to_android_ndk_dir |
| 20 | $ ./configure-android |
| 21 | $ make dep && make clean && make |
| 22 | }}} |
| 23 | |
| 24 | Notes: |
| 25 | * the {{{./configure-android}}} is a wrapper that calls the standard {{{./configure}}} script with settings suitable for Android target. |
| 26 | * you may pass standard {{{./configure}}} options to this script too. |
| 27 | * for more info, run {{{./configure-android --help}}} |
| 28 | * other customizations are similar to what is explained in [wiki:Getting-Started/Autoconf Building with GNU] page. |
| 29 | |
| 30 | Since PJSIP on Android is still experimental, please also have a look at: |