//這條命令相當于按了設備的Backkey鍵
adb shell input keyevent 4
?//可以解鎖屏幕
adb shell input keyevent ?82?
//在屏幕上做劃屏操作,前四個數(shù)為坐標點,后面是滑動的時間(單位毫秒)
adb shell input swipe 50 250 250 250 500?
//在屏幕上點擊坐標點x=50 ?y=250的位置。
adb shell input tap 50 250?
//輸入字符abc
adb shell input text abc