erichocean / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

How to build libjingle0.5.2 for android #156

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dear Sir:

I am building libjingle0.5.2 for android, but failed.

Now I want to know whether google supports building libjingle0.5.2 for 
Andriod.if google supports ,Can you tell me how to do? 

Thank you very much.

Original issue reported on code.google.com by qingdao0...@gmail.com on 12 Apr 2011 at 2:08

GoogleCodeExporter commented 9 years ago
Are able to achieve this? If so, can you please tell me also?

Original comment by krishna....@gmail.com on 13 Jun 2011 at 1:26

GoogleCodeExporter commented 9 years ago
I have building android porting using NDK successful. 
1. Create your Android.mk according to android NDK ruler. For simplify , I only 
select talk/base talk/p2p/ talk/xmllite/ talk/xmpp  4 basic modules from 
libjingle. 
2. Apply some patches for libjingle using NDK compiler.
3. Create your own application ( Java GUI + NDK middle application). 

The attached is the Android.mk and patches

Original comment by achang.z...@gmail.com on 24 Aug 2011 at 2:41

Attachments:

GoogleCodeExporter commented 9 years ago
Hi achang,
could you please elaborate on the process of the build?
especially in the part when you use build.mk for the selected modules and the 
main app, where can I get these files?
TIA

Original comment by OREN...@gmail.com on 19 Sep 2011 at 10:16

GoogleCodeExporter commented 9 years ago
achang,
I follow your guide my problem is same as oren,you seems forget some attachment 
such as build.mk and your app folder. would please provide more details?

Original comment by weichang...@gmail.com on 14 Oct 2011 at 9:55

GoogleCodeExporter commented 9 years ago
Hello
        achang,
        I also compiled libjingle for android, but there are errors when I compile, I can see your build.mk file? Want your help. Thank you!

Original comment by zcom2...@gmail.com on 9 Jan 2012 at 3:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi achang:
Could you please give me your build.mk files and  Java GUI + NDK middle 
application? or some more dedails?
My email is go_seesea@163.com.
Thank you very much! 

Original comment by go_see...@163.com on 31 Jan 2012 at 3:22

GoogleCodeExporter commented 9 years ago
sir,
please help me in compiling libjingle for andriod.
Tutorial for some help.
my email id: dontulakapil@gmail.com

Original comment by dontulak...@gmail.com on 3 Feb 2012 at 1:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi achang:

can you please send me your build.mk files? My email is cong.doan@gmail.com

Thank you very much!
Cong

Original comment by cong.d...@gmail.com on 23 Feb 2012 at 10:01

GoogleCodeExporter commented 9 years ago
Hi achang:

Can you send me your build.mk files please? 
My email is nomadlibra@gmail.com

Very thanks
James

Original comment by NomadLi...@gmail.com on 29 Feb 2012 at 8:30

GoogleCodeExporter commented 9 years ago
Hi achang 

  I am working on libjingle on Android. Could you please send the build.mk files to xiaopeng.yin@gmail.com?
  Thanks very much!

Original comment by xiaopeng...@gmail.com on 25 Mar 2012 at 1:42

GoogleCodeExporter commented 9 years ago
Hi achang:

Could you please send the 
talk/base/build.mk
talk/p2p/build.mk
talk/xmllite/build.mk
talk/xmpp/build.mk

 files to lixiaocui1000@gmail.com  ?
  Thanks very much!

Original comment by lixiaocu...@gmail.com on 27 Mar 2012 at 8:33

GoogleCodeExporter commented 9 years ago
I've able to build recent version. This is just one huge crunch,
but still,callapp starts, registers on server and accepted calls, but 
p2ptransport
not works yet (seems like it use fakenetwork adapter).

https://github.com/dmonakhov/libjingle/tree/android

Original comment by dmonak...@gmail.com on 4 Apr 2012 at 8:06

GoogleCodeExporter commented 9 years ago
Ok i've found the reason why p2ptransport not work en the beginning this is due 
to
base/network.cc:185 -> it use obsoleted ifaddrs interface on linux, which is 
hidden
in android, but this is easy to fix by using modern netlink interface. After 
this callapp works like charm on my android emulator. I want to subbmit patch 
but i cant determinate what exact code stile is used in that project it is 
looks like 'gnu'. Am i right?

Original comment by dmonak...@gmail.com on 7 Apr 2012 at 5:57

GoogleCodeExporter commented 9 years ago
Hi, dmonakhov
I git the android branch of libjingle that you refered.
And I found it seemed to lost the srtp patch file in pc directory. Forgotten?

Original comment by liu.sa...@gmail.com on 25 Apr 2012 at 9:19

GoogleCodeExporter commented 9 years ago
No, srtp compiled out of box, so no patches required,
i've just add apply_patch for each third party lib for future purpose.

Original comment by dmonak...@gmail.com on 25 Apr 2012 at 10:11

GoogleCodeExporter commented 9 years ago
hi,dmonakhov
The libjingle-android seemed not ready to be compiled in android src framework,
I met some error when i compiled it on linux with android 4.0.3 src.
And I succeeded on windows with Cygwin + NDK. 

Original comment by liu.sa...@gmail.com on 26 Apr 2012 at 7:53

GoogleCodeExporter commented 9 years ago
And webrtc src uses the stlport not gnu stl

Original comment by liu.sa...@gmail.com on 26 Apr 2012 at 8:03

GoogleCodeExporter commented 9 years ago
Strange.. i use android-9(see README.android) api to build it on linux i use 
NDK-r7b.
and it works fine on my HW (galaxy nexus 4.0.2) and on emulator api-14(4.0.0).
Do you use README.android guide to build it?
What do you mean by saying android framework? The only framework you need is 
SDK and NDK.

Original comment by dmonak...@gmail.com on 26 Apr 2012 at 8:08

GoogleCodeExporter commented 9 years ago
I didn't install ndk, I thought i can deal them all on linux. But i failed. 
Cpu-features required ndk, i haven't found alternative one.
Maybe i have to install the ndk.
Thank you, dmonakhov

Original comment by liu.sa...@gmail.com on 26 Apr 2012 at 9:37

GoogleCodeExporter commented 9 years ago
Hi, dmonakhov

By following your instructions, I successfully built and deployed to the 
android emulator the libjingle-android app you have in git. I have a question 
though, how do you run the callap(call_main.cc) sample? 

Thanks for you help,

Original comment by ame68...@gmail.com on 17 May 2012 at 8:38

GoogleCodeExporter commented 9 years ago
Hi,dmonakhow
1)Why the macros are defined for Android in config.mk? It seems to should be 
defined for linux. Right?
-DOS_LINUX=OS_LINUX \
-DLINUX 

2)Have you ever run libjingle on emulator? I ran it with error when init 
voice engine. And I found it try these codes:
#if defined(LINUX) && !defined(HAVE_LIBPULSE)
  voe_wrapper_sc_->hw()->SetAudioDeviceLayer(webrtc::kAudioLinuxAlsa);
#endif
And alsa relevant source files have been removed from mk file. Am i right?

Thanks for your help

Original comment by liu.sa...@gmail.com on 21 May 2012 at 2:19

GoogleCodeExporter commented 9 years ago
hello everyone ,
Anyone plzz send me the build.mk files ..as in all these files
talk/base/build.mk
talk/p2p/build.mk
talk/xmllite/build.mk
talk/xmpp/build.mk
to my gmail . klprasanth1991@gmail.com

Thnak you very much

Original comment by klprasan...@gmail.com on 15 Jun 2012 at 10:00

GoogleCodeExporter commented 9 years ago
Hi!
I tried to build libjingle android.

https://github.com/dmonakhov/libjingle-android

When building openssl/crypto "Argment List Too Long" error occurred.
- Win7
- Cygwin 1.7.15
- ndk r8/ndk r8b
I tried to fix it by locating ndk and libjingle project in
d:/ndk
d:/libjingle-android
but same error occurred.
Please help me how i can fix it.

Thank you.

Original comment by adam1988...@gmail.com on 26 Sep 2012 at 2:39

GoogleCodeExporter commented 9 years ago

Original comment by juberti@google.com on 1 Jun 2013 at 4:09