• 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

  • 相关阅读:
    img在src无效或者是空的时候出现边框
    console.log((!+[]+[]+![]).length)
    JQuery与zTree记录
    axis2框架实现webservice
    jsp页面常用代码
    使用MyEclipse实现通过数据库中表和hibernate生成实体类和映射配置文件
    PL/SQL Developer工具的使用简介
    有关静态代码块、代码块、构造方法执行顺序
    完全平方数的个数
    队列Q(排序方式)
  • 原文地址:https://www.cnblogs.com/cyqx/p/11798395.html
Copyright © 2020-2023  润新知