Changes between Version 26 and Version 27 of Getting-Started/Android


Ignore:
Timestamp:
Feb 5, 2014 8:32:21 AM (10 years ago)
Author:
nanang
Comment:

Added info for setting up target device

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Android

    v26 v27  
    4848 * other customizations are similar to what is explained in [wiki:Getting-Started/Autoconf Building with GNU] page. 
    4949 
     50== Setting up the target device == 
     51 
     52To 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 
    5056== Building and running pjsua sample application == #pjsua 
    5157 
     
    5561 1. Make sure SWIG is in the build environment PATH. 
    5662     - 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: 
    5864     {{{ 
    5965$ cd /path/to/your/pjsip/dir 
     
    7682Follow these steps to build pjsua2 sample application: 
    7783 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: 
    7985     {{{ 
    8086$ cd /path/to/your/pjsip/dir