OpenSerial Fail in android hollywood 10

Report any Hollywood bugs here
Post Reply
plouf
Posts: 473
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

OpenSerial Fail in android hollywood 10

Post 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
Christos
User avatar
airsoftsoftwair
Posts: 5450
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: OpenSerial Fail in android hollywood 10

Post 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.
Post Reply