Changes between Version 26 and Version 27 of Getting-Started/Android
- Timestamp:
- Feb 5, 2014 8:32:21 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Getting-Started/Android
v26 v27 48 48 * other customizations are similar to what is explained in [wiki:Getting-Started/Autoconf Building with GNU] page. 49 49 50 == Setting up the target device == 51 52 To run or debug application (such as the sample applications below), first we need to setup the target device: 53 - using virtual device: http://developer.android.com/tools/devices/index.html 54 - using real device: http://developer.android.com/tools/device.html 55 50 56 == Building and running pjsua sample application == #pjsua 51 57 … … 55 61 1. Make sure SWIG is in the build environment PATH. 56 62 - Alternatively, update SWIG path in {{{$PJDIR/pjsip-apps/src/pjsua/android/jni/Android.mk}}} file. 57 1. Run {{{ndk-build}}} from directory {{{$PJDIR/pjsip-apps/src/pjsua/android}}} , note that the Android NDK root should be in the PATH, e.g:63 1. Run {{{ndk-build}}} from directory {{{$PJDIR/pjsip-apps/src/pjsua/android}}} (note that the Android NDK root should be in the PATH), e.g: 58 64 {{{ 59 65 $ cd /path/to/your/pjsip/dir … … 76 82 Follow these steps to build pjsua2 sample application: 77 83 1. Make sure SWIG is in the build environment PATH. 78 1. Run {{{make}}} from directory {{{$PJDIR/pjsip-apps/src/swig}}} , note that the Android NDK root should be in the PATH, e.g:84 1. Run {{{make}}} from directory {{{$PJDIR/pjsip-apps/src/swig}}} (note that the Android NDK root should be in the PATH), e.g: 79 85 {{{ 80 86 $ cd /path/to/your/pjsip/dir