[Android Software Development] nicolas06:
Issue on Honor 9

Hi

First of all thanks you [MENTION=3563640]Quinny899[/MENTION] for your hard work.

This app was working fine on my previous Nexus 5x unfortunately I had to change my phone and now I got some issues using this app on my Honor 9 EMUI 8.0.0 and my camera became useless :( .

When I select the wifi "Gear360 (c203)" (enter wifi keys) and get connected then go back to Gear 360 app, I can't get the gallery neither than live view. I'm stuck on Loading ...

I executed adb logcat (I can send it separately as I'm not autorized) and found the following Exception repeated 100 times:

03-30 14:12:38.766 721 833 D bastetd : [ProxySocket ] doReconnFailed# set reconn break
03-30 14:12:38.767 10740 13443 D ACM_ : (528) [UPNPController]MSearchStart userAgent = SEC_RVF_ML_02:00:00:00:00:00 accessMethod = manual
03-30 14:12:38.770 10740 13444 D ACM_CYBERGARAGE: (566) [UPNPController$2]run bStarted : false userAgent : SEC_RVF_ML_02:00:00:00:00:00 accessMethod : manual
03-30 14:12:38.770 10740 13443 D ACM_CYBERGARAGE_: (103) [SSDP]setSSDPPort port = 1900
03-30 14:12:38.770 10740 13444 D ACM_CYBERGARAGE_CYBERGARAGE: (1180) [ControlPoint]start ssdp:all SEC_RVF_ML_02:00:00:00:00:00 manual
03-30 14:12:38.771 10740 13444 D ACM_CYBERGARAGE_: (1068) [ControlPoint]start ssdp:all SEC_RVF_ML_02:00:00:00:00:00 manual
03-30 14:12:38.771 10740 13444 D ACM_CYBERGARAGE_: (110) [HTTPServerList]open start
03-30 14:12:38.771 10740 13444 D ACM_CYBERGARAGE_: (78) [HTTPServerList]open start
03-30 14:12:38.777 10740 13444 D ACM_CYBERGARAGE_: (104) [HostInterface]checkIpCclass ip = 192.168.43.242
03-30 14:12:38.778 10740 13444 E ACM_CYBERGARAGE_: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.lastIndexOf(java.lang.String)' on a null object reference
03-30 14:12:38.778 10740 13444 W System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.lastIndexOf(java.lang.String)' on a null object reference
03-30 14:12:38.779 10740 13444 W System.err:	at org.cybergarage.net.HostInterface.ipCclass(HostInterface.java:98)
03-30 14:12:38.779 10740 13444 W System.err:	at org.cybergarage.net.HostInterface.checkIpCclass(HostInterface.java:106)
03-30 14:12:38.779 10740 13444 W System.err:	at org.cybergarage.net.HostInterface.getNHostAddresses(HostInterface.java:135)
03-30 14:12:38.779 10740 13444 W System.err:	at org.cybergarage.http.HTTPServerList.open(HTTPServerList.java:88)
03-30 14:12:38.779 10740 13444 W System.err:	at org.cybergarage.http.HTTPServerList.open(HTTPServerList.java:112)
03-30 14:12:38.779 10740 13444 W System.err:	at org.cybergarage.upnp.ControlPoint.start(ControlPoint.java:1099)
03-30 14:12:38.779 10740 13444 W System.err:	at org.cybergarage.upnp.ControlPoint.start(ControlPoint.java:1181)
03-30 14:12:38.779 10740 13444 W System.err:	at com.samsung.android.gear360manager.app.pullservice.controller.UPNPController$2.run(UPNPController.java:568)
03-30 14:12:38.779 10740 13444 W System.err:	at java.lang.Thread.run(Thread.java:784)

I use the latest version 1.1.00.5 of the program but got same result with previous version.

Mobile data are disabled.

Camera is Gear 360 (2017)

I googled it without success.

Have you got any idea of what could be the reason ? and if I can fix it my self ?

Note: it works randomly (buggy) using wifi direct.

Thanks

nico