adb shell
不用root,连上电脑就能使用,响应时间慢(>200ms)
AccessibilityService
不用root,能跨进程,只能点击安卓原生控件
MotionEvent
不用root,不能跨进程,只能点击安卓原生控件
Instrumentation/IWindowManager
需要有system权限或者进程所属uid一样或者root,能跨进程,响应时间较快(20~50ms)
writeevent
直接向event设备(/dev/input/event3)写入数据,开源项目有minitouch
需要root,能跨进程,响应时间快(<10ms)