android修改默認輸入法


android修改默認輸入法

方案一:adb命令設置?
方案2:系統配置;
方案3:調用系統API接口設置
---------------------------
adb shell cmd
adb root
adb remount
adb push xx.apk /system/app  
---------------------------

#Android鍵盤(AOSP) ~ 系統默認
com.android.inputmethod.latin/.LatinIME

#谷歌拼音輸入法
com.google.android.inputmethod.pinyin/.PinyinIME

#谷歌Gboard輸入法
com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME

#觸寶輸入法國際版
com.cootek.smartinputv5/com.cootek.smartinput5.TouchPalIME

#Go 輸入法
com.jb.emoji.gokeyboard/com.jb.gokeyboard.GoKeyboard

#SwiftKey Keyboard 輸入法
com.touchtype.swiftkey/com.touchtype.KeyboardService

#搜狗輸入法:
com.sohu.inputmethod.sogou/.SogouIME

#微軟必應輸入法
com.bingime.ime/.BingIme

---------------------------
#顯示系統安裝的輸入法列表
adb shell ime list -s

#獲取系統默認輸入法
adb shell settings get secure default_input_method

#設置系統默認輸入法
adb shell settings put secure default_input_method com.touchtype.swiftkey/com.touchtype.KeyboardService

 

示例:

設置輸入法為默認輸入法

adb shell settings put secure default_input_method com.cootek.smartinputv5/com.cootek.smartinput5.TouchPalIME

adb shell settings put secure default_input_method com.jb.emoji.gokeyboard/com.jb.gokeyboard.GoKeyboard

adb shell settings put secure default_input_method com.touchtype.swiftkey/com.touchtype.KeyboardService

adb shell settings put secure default_input_method com.sohu.inputmethod.sogou/.SogouIME

adb shell settings put secure default_input_method com.bingime.ime/.BingIme

 

其他:
Swype輸入法 --安裝后點擊桌面相應圖標后啟用該輸入法,下載中文、日文等語言包

SwiftKey 輸入法支持的國家語言(中日韓英等……)
https://support.swiftkey.com/hc/en-us/articles/201598431-What-languages-are-currently-supported-for-SwiftKey-on-Android


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM