栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

adb命令

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

adb命令

1.修改默认输入法:
#方法一:

# 安装百度输入法
adb remount                #获取root权限
adb install badu.apk        #安装百度输入法
adb shell settings put secure default_input_method com.baidu.input/.ImeService
adb shell settings put secure default_input_method cn.com.hwtc.input/.PinyinIME
# 验证是否设置成功
adb shell ime list -s
    # 百度:com.baidu.input/.ImeService
    # 海微:cn.com.hwtc.input/.PinyinIME
adb shell settings get secure default_input_method    #获取默认输入法


#方法二:
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

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/315158.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号