senzhk / ADBKeyBoard

Android Virtual Keyboard Input via ADB (Useful for Test Automation)
GNU General Public License v2.0
1.22k stars 299 forks source link

help #10

Closed jerome8946 closed 6 years ago

jerome8946 commented 8 years ago

window7 adnroid phone:SM-N9006 4.4.2 adb shell am broadcast -a ADB_INPUT_TEXT --es msg '你好嗎? Hello?'

WARNING:linker:app_process has text relocations.This is wasting menory and is a security risk.Please fix. Broadcasting: Intent { act=ADB_INPUT_TEXT (has extras) } Broadcast completed: result=0

EditText There is no value

eggcaker commented 8 years ago

same here

Android 6.0.1 Nexus 5x

ngochoaitn commented 6 years ago

You must set ADB Keyboad as default input method and turn of physical keyboard in Setting.

sougannkyou commented 6 years ago

设置默认输入为adbkeyboard并且关闭物理键盘开关

lovelyplanet2019 commented 3 years ago

i have turned off all keyboard and left only ADB keyboard. at cmd adb shell am broadcast -a ADB_INPUT_TEXT --es msg '你好嗎? Hello?' Broadcasting: Intent { act=ADB_INPUT_TEXT flg=0x400000 (has extras) } Broadcast completed: result=0