How to send longpressed KeyEvent with Java code?

71 Views Asked by At

How to send longpressed KeyEvent with Java code ? I have seen some examples where they use shell commands to achieve that goal, but I want to know is there a way to do it only by Java.

The idea is to send longpressed KeyEvent from the remote controller application to Android Box.

0

There are 0 best solutions below