Page 1 of 1

OpenSerial Fail in android hollywood 10

Posted: Tue Jan 23, 2024 11:01 pm
by plouf
REPRODUCIBILITY: 100%
OSVERSION: Android 13
HOLLYWOOD: 10.0

even trying the simplest possible

Code: Select all

OpenSerialPort(1, "COM1")
WriteSerialData(1, "Hello World!")
CloseSerialPort(1)


error message pops up saying "cannot open serial port com1"


TEST i done
1)under windows11 offcourse it works
2)fails in Both APK compiled AND under hollywood player
3)old stuff done with hollywood 9 still works
4) compiling applet with hollywood 9 , and trying under player10 fails
5) compiling applet with hollywood 9 and trying with player 9.1 , works as expected, both simple and more complicated

Re: OpenSerial Fail in android hollywood 10

Posted: Sun Jan 28, 2024 12:34 pm
by airsoftsoftwair
Ok, this is probably because of some elevated security restrictions in Android because there weren't any changes in the Android serial code from Hollywood 9 to 10 so it must be some security thing in Android blocking serial access. I'll check.

Re: OpenSerial Fail in android hollywood 10

Posted: Tue Aug 20, 2024 9:49 pm
by airsoftsoftwair

Code: Select all

- Fix [Android]: The serial library was completely broken in Hollywood 10