上传者: xingchenxuanfeng
|
上传时间: 2022-07-03 04:33:52
|
文件大小: 11KB
|
文件类型: -
用于录制android按键,录制后可以重放,可以帮助做一些重复的操作。
使用adb shell push evi /system/bin/evi 命令将该工具push到android手机 /system/bin/目录即可使用
用法很简单:
1 输入 adb shell evi record 后,做自己想要重复执行的操作。
2 输入 adb shell evi replay -t n ,即可重复执行操作,n代表想要重复执行的次数。
adb shell evi
Usage:
evi record [-f ] []
- record system events to
If no -f option is supplied then the data is written
to "/sdcard/events"
( is the list of events to be backed up.
For example, "1 3 5" means event1, event3 and event5.
By default, event0, event1, event3, event4, event6
and event7 are included.)
evi replay [-f ] [-t ]
- replay system events from
If no -f option is supplied then "/sdcard/events" is used.
If no -t option is supplied then events will be replayed once.