I'm trying to program a Mouse via Wifi TCP. Client is on Android and Server on Java.
I'm trying to detect a LongPress on Android and send this information to Java.
Android:
I need to implement MotionEvent.ACTION_DOWN
but I don´t know what to do after this code.
Java:
How the class Robot
receive those parameters who MotionEvent
sends, and how implement the LongPress
on both client and server.