zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    Class StatusesTableSeeder does not exist 如何解决
    Heroku 如何上重置 PostgreSQL 数据库
    git强制push
    Heroku登录失败
    将手机替换为*号
    使用TP自带缓存时。出现第一次拿不到数据。
    PHP实现查看邮件是否被阅读
    使用file_get_contents下载图片
    介绍几款开源好用的产品
    查看光纤卡wwn号【转载】
  • 原文地址:https://www.cnblogs.com/cyqx/p/11798395.html
Copyright © 2011-2022 走看看