尝试使用“adb shell输入”模拟手势。在“su”流中执行所有命令。我如何制作曲线?找到这种方式,但它不工作:使用adb输入的一些滑动手势
CommandClick.su("input swipe 520 430 520 815 1000 && input swipe 520 815 675 815 1000");
CommandClick.su
public static void su(String... commands) {
new CommandClick(SU).command(commands).finish();}
CommandClick
try {
dataOutputStream.writeBytes(command + "\n");
dataOutputStream.flush();
} catch (IOException e) {
e.printStackTrace();
}
我想2个挥笔像一条线......
不,它不是一个选项。它不为我工作... – user3455010