Hi to all
report here a problem already brought in the following thread
https://www.b4x.com/android/forum/threads/liberica-javafx-limitation.97261/
for my needs I don't use the javafx virtual keyboard but my custom keyboards.
For simulate the pressure of a keyboard key i use this line code
No problem with java 8_151 and openjfx-8u60
Of course also with the JAWTRobot library fails
is there another way to get the simulation of a keypress?
Thanks
report here a problem already brought in the following thread
https://www.b4x.com/android/forum/threads/liberica-javafx-limitation.97261/
for my needs I don't use the javafx virtual keyboard but my custom keyboards.
For simulate the pressure of a keyboard key i use this line code
B4X:
Dim robot As JavaObject
Dim jo As JavaObject
jo.InitializeStatic("com.sun.glass.ui.Application")
robot = jo.RunMethodJO("GetApplication",Null).RunMethodJO("createRobot",Null) '<--Fails
robot.RunMethod("keyPress", Array As Object(13))
Sleep(50)
robot.RunMethod("keyRelease", Array As Object(13))
Of course also with the JAWTRobot library fails
is there another way to get the simulation of a keypress?
Thanks