2014년 12월 16일 화요일

Error 1101 with WEB component in android 4.1.2


I'm developing an app connecting my android device (android 4.1.2)  to a webcam in my domestic network, and I'm using the WEB component.Up today everything was really good, I saw the webacam jpg on the display, but suddenly from today, without project changes, the device is unable to connect with the webcam and I receive constantly Error 1101.

I'm using AI2 Companion with my Wifi network, and nothing changed from today and the days when the connection with the webcam was perfect.

I'v tried to use AI2 Companion with exactly the same project on a device with android 4.2 and....everything is perfect!

I've tried the project on a hard reset android 4.1.2 device, but, again I receive Error 1101, and android 4.2 device still works good.

Same problems if I generate an apk: the same apk doesn't work on 4.1.2 devices and works good on 4.2 device.
The same apk works great on an android 2.2.1 device too!!!

The problem seems to be related to the android 4.1.2 device...

Did it change anything in MIT AI code?

Help please, it's really frustrating.

Thanks a lot in advance

PS: The code is very very simple and I attach it for being complete.