[pjsip] Patch for building pjproject 1.8.10 for Android
Dan
dan at keystream.se
Mon Oct 3 03:52:51 EDT 2011
Hi,
the patch for building pjsua for Android does not include a GUI test
application such as the one for Iphone(ipjsua).
If you have a rooted phone you can copy the pjsua client and the test
applications to it and have a try with it(that's what I did). Otherwise
you need to build an Android application that uses the pjsip libraries
through a jni-api.
Regards,
Dan
On Mon, 2011-10-03 at 10:47 +0800, ming hon wrote:
> Hey List,
>
> may i know what is the next step after make dep && make..?
>
> Thanks && Regards,
>
>
> Hi all!
>
> I've made a new patch for building pjproject v1.8.10 for Android(ARM). I've tested the
> pjsua reference application on a Nexus S running Android 2.3 and on a LG GW620 running
> OpenEtna(Android 2.2).
> Audio is only supported on Android 2.3 (and higher versions).
>
> A short instruction on compiling pjproject on Linux:
>
> 1) Download and install Android NDK version r5b.
>
> 2) Install a standalone toolchain as described in
> android-ndk-r5b/docs/STANDALONE-TOOLCHAIN.html
>
> 3) Download and install pjproject version 1.8.10
>
> 4) Apply the attached patch to pjproject.
>
> 5) Run autoconf (important since the patch only patches aconfigure.ac and not aconfigure):
> cd pjproject-1-8-10
> autoconf aconfigure.ac >aconfigure
>
> 6) Run configure:
> CC=<path_to_installed_android_toolchain>/bin/arm-linux-androideabi-gcc ./configure
> --host=arm-linux-androideabi --disable-floating-point --disable-large-filter
>
> 7) Run make dep and make:
> make dep && make
>
> 8) Done.
>
> NOTE!
> Audio in only supported for Android 2.3 (API level 9) and higher versions.
> When building for API level 8 and lower only null_audio will be supported.
>
> Regards,
> Dan
>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: pjproject-1.8.10_android.patch
> Type: text/x-patch
> Size: 43670 bytes
> Desc: not available
> URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110324/186c9954/attachment-0001.patch>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
More information about the pjsip
mailing list