linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Linphone-android crashes withfollowingerror


From: Sylvain Berfini
Subject: Re: [Linphone-developers] Linphone-android crashes withfollowingerror
Date: Thu, 03 Jul 2014 09:07:02 +0200
User-agent: Roundcube Webmail/1.0.1

Hi Leonard,

You are very right, it shouldn't crash if the device doesn't have bluetooth. In this spirit, I've made some changes to the code that will prevent this crash.

Cheers.

---
Sylvain Berfini
Software Engineer @ Belledonne Communications

Le 2014-07-03 06:34, Leonard Fodje a écrit :
Hi,
This means linphone-android will only run on devices that have
bluetooth? If device doesn’t have bluetooth then linphone crashes? I
thought it should work whether devices have bluetooth or not.

Thanks,

Leonard

FROM: Xuân Tùng Đào
SENT: Wednesday, July 2, 2014 9:11 PM
TO: address@hidden
SUBJECT: Re: [Linphone-developers] Linphone-android crashes
withfollowingerror

Hi, AVD doesn't have bluetooth, You must use real device to test. If
bluetooth not important for your application, you can comment that
code that cause crash your app.

Regrads,
TungDX.
2014/07/03 2:21 "Leonard Fodje" <address@hidden>:

Hi Xuan,

How do I fix this? I don’t see where to simulate bluetooth on the
AVD.

Thanks,

Leonard

FROM: Xuân Tùng Đào
SENT: Wednesday, July 2, 2014 2:39 AM
TO: address@hidden
SUBJECT: Re: [Linphone-developers] Linphone-android crashes with
followingerror

Hi,
I think beacause your virtual device that not has Bluetooth which
cause crash app.

See logcat at:
07-02 00:47:52.900: E/AndroidRuntime(942):
java.lang.NullPointerException
07-02 00:47:52.900: E/AndroidRuntime(942): at
org.linphone.BluetoothManager.startBluetooth(BluetoothManager.java:96)
07-02 00:47:52.900: E/AndroidRuntime(942): at
org.linphone.BluetoothManager.initBluetooth(BluetoothManager.java:85)
On Jul 2, 2014 5:14 AM, "Leonard Fodje" <address@hidden> wrote:

Hi All,

I have compiled linphone-android successfully but each time I try to
run it on a virtual device, I get the following errors. Any help?

07-02 00:47:52.830: W/Linphone(942): MediaStreamer : 1 cores detected
and configured
07-02 00:47:52.830: D/Linphone(942): Migration to multi transport
result = 1
07-02 00:47:52.840: I/Linphone(942): Push Notification not activated
07-02 00:47:52.850: I/Linphone(942): Connectivity has changed.
07-02 00:47:52.870: D/Linphone(942): Bluetooth receiver started
07-02 00:47:52.870: E/BluetoothAdapter(942): Bluetooth binder is null
07-02 00:47:52.880: D/AndroidRuntime(942): Shutting down VM
07-02 00:47:52.880: W/dalvikvm(942): threadid=1: thread exiting with
uncaught exception (group=0xb2af3ba8)
07-02 00:47:52.900: E/AndroidRuntime(942): FATAL EXCEPTION: main
07-02 00:47:52.900: E/AndroidRuntime(942): Process: org.linphone, PID:
942
07-02 00:47:52.900: E/AndroidRuntime(942):
java.lang.NullPointerException
07-02 00:47:52.900: E/AndroidRuntime(942): at
org.linphone.BluetoothManager.startBluetooth(BluetoothManager.java:96)

07-02 00:47:52.900: E/AndroidRuntime(942): at
org.linphone.BluetoothManager.initBluetooth(BluetoothManager.java:85)
07-02 00:47:52.900: E/AndroidRuntime(942): at
org.linphone.LinphoneManager.initLiblinphone(LinphoneManager.java:544)

07-02 00:47:52.900: E/AndroidRuntime(942): at
org.linphone.LinphoneManager.access$4(LinphoneManager.java:494)
07-02 00:47:52.900: E/AndroidRuntime(942): at
org.linphone.LinphoneManager$3.run(LinphoneManager.java:774)
07-02 00:47:52.900: E/AndroidRuntime(942): at
android.os.Handler.handleCallback(Handler.java:733)
07-02 00:47:52.900: E/AndroidRuntime(942): at
android.os.Handler.dispatchMessage(Handler.java:95)
07-02 00:47:52.900: E/AndroidRuntime(942): at
android.os.Looper.loop(Looper.java:136)
07-02 00:47:52.900: E/AndroidRuntime(942): at
android.app.ActivityThread.main(ActivityThread.java:5017)
07-02 00:47:52.900: E/AndroidRuntime(942): at
java.lang.reflect.Method.invokeNative(Native Method)
07-02 00:47:52.900: E/AndroidRuntime(942): at
java.lang.reflect.Method.invoke(Method.java:515)
07-02 00:47:52.900: E/AndroidRuntime(942): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

07-02 00:47:52.900: E/AndroidRuntime(942): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
07-02 00:47:52.900: E/AndroidRuntime(942): at
dalvik.system.NativeStart.main(Native Method)
07-02 00:50:44.401: D/dalvikvm(1147): GC_FOR_ALLOC freed 34K, 4% free
2734K/2840K, paused 35ms, total 36ms

Thanks,

Leonard
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers [1]

-------------------------
 _______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers [1]

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers [1]

-------------------------
 _______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
 !DSPAM:53b4de9b17681922712356!

Links:
------
[1] https://lists.nongnu.org/mailman/listinfo/linphone-developers

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


!DSPAM:53b4de9b17681922712356!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]