Compile for ARM Andriod?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi R?gis,
yes I am aware of the CSipSimple project, a very nice project indeed :-)

But our aim was not to have a java version of pjproject, instead we wanted to have 
pjproject "as is", but for the Android platform. We have class libraries that we want to 
reuse and only build jni-classes for the methods we use in our GUI.
Also it never hurts to know how to build pjproject with the Android standalone toolchain ;-)
Thanks for the tip about the OpenSL-ES driver, I'll have a look at is as soon as I get 
hold of a phone with Android 2.3.

Regards,
Dan

On 03/07/2011 04:12 PM, R?gis Montoya wrote:
> Dan,
>
> Have you seen CSipSimple project?
>
> There is already a dev for the OpenSL driver + a dev implementation
> for the java.... This two devices are under Apache License.
> The OpenSL-ES driver is much more clean than the java one and could
> probably be embedded somewhere else... (Reason why I recently post
> here about this dev implementation)...
>
> Regards,
> R?gis
>
>
> 2011/3/7 Dan Arrhenius<dan at keystream.se>:
>> We are running the pjsua reference application on android.
>> Here's how to do it (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
>>
>> 7) Run make dep and make:
>>         make dep&&  make
>>
>> 8) Done.
>>
>> NOTE!
>> No audio is supported with this patch !
>> I have started an implementation of a sound back-end for OpenSL ES on
>> Android, but it's not finished due to lack of an Android 2.3 phone to test
>> on.
>> At present we are using AudioRecord and AudioTrack to implement audio but
>> it's not included in this patch since it depends om pre-compiled binaries.
>>
>> Regards,
>> Dan
>>
>> Download pjproject version 1.8.10.
>> Apply the patch attached to this mail.
>> Download Android NDK version r5b.
>> Install a standalone toolchain
>>
>> On 03/03/2011 10:26 AM, Stefan Hobbel wrote:
>>>
>>> Hello,
>>>
>>> has anyone compiled PJSIP for Android, running on ARM?
>>> Can you give me pointers on how to do this, native and cross compile and
>>> what tools I
>>> should be using?
>>>
>>> Thanks!
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux