模擬鍵盤輸入adb shell input

一、input text 1.作用:向聚焦的文本框中輸入內容,只能輸入AscII碼的字符,對於UTF-8的字符是無法輸入的(無法輸入中文) 用法:adb shell input text  " <String>" 在text後的雙引號中輸入字符串 例如:向文本框中輸入內容 :hello,world 命令:adb shell input text "hello,world" 運行結果: 2.輸入特殊
相關文章
相關標籤/搜索