Dispatch Touch Event Automatically in Android

39 Views Asked by At

Can you give me a code example of how to dispatch a touch event without any user interaction or gesture detection like automatically? The exact dispatch touch code and motion event codes without touching the touchscreen myself.

I want to toggle or hold a simple touch simulation on and off under a floating system action button in Android but I'm having trouble simulating the touch after you press the floating action button. Thanks

0

There are 0 best solutions below