關于擷取安卓手機系統輸入法和設定輸入法
擷取輸入法清單
adb shell ime list -s
出來下面的
io.appium.android.ime/.UnicodeIME
com.sec.android.inputmethod/.SamsungKeypad
設定預設的輸入法
adb shell settings get secure default_input_method
com.sec.android.inputmethod/.SamsungKeypad
設定輸入法為預設輸入法
adb shell settings put secure default_input_method com.sohu.inputmethod.sogou/.SogouIME
adb shell settings put secure default_input_method +輸入法
設定為appium輸入法
adb shell settings put secure default_input_method io.appium.android.ime/.UnicodeIME
設定回系統三星系統手機手機輸入法
adb shell settings put secure default_input_method com.sec.android.inputmethod/.SamsungKeypad