P personalapps Member May 6, 2024 #1 How to simulate key press? Eg when a web hook is triggered or when BLE device is near (based on RSSI), can we simulate Volume up button in b4a? I just need code for simulation of any key press
How to simulate key press? Eg when a web hook is triggered or when BLE device is near (based on RSSI), can we simulate Volume up button in b4a? I just need code for simulation of any key press
Erel B4X founder Staff member Licensed User Longtime User May 7, 2024 #2 Do you want to send the key press to other apps or to your app? It is not possible to send key presses to other apps. It used to be possible with the accessibility service but it is now more restricted. Upvote 0
Do you want to send the key press to other apps or to your app? It is not possible to send key presses to other apps. It used to be possible with the accessibility service but it is now more restricted.
P personalapps Member May 8, 2024 #3 Erel said: Do you want to send the key press to other apps or to your app? It is not possible to send key presses to other apps. It used to be possible with the accessibility service but it is now more restricted. Click to expand... I wanted to send key press to other apps, but I don't know how to send to own apps either, so code for sending to own app is welcome too. Upvote 0
Erel said: Do you want to send the key press to other apps or to your app? It is not possible to send key presses to other apps. It used to be possible with the accessibility service but it is now more restricted. Click to expand... I wanted to send key press to other apps, but I don't know how to send to own apps either, so code for sending to own app is welcome too.