How to determine the current IME in Android?

前端 未结 3 1723
长发绾君心
长发绾君心 2020-12-15 07:01

I have an application where I would like to warn the user if they are not using the default Android softkeyboard. (i.e. they are using Swype or some thing else).

How

3条回答
  •  抹茶落季
    2020-12-15 07:34

    InputMethodManager has getEnabledInputMethodList(). You get an InputMethodManager from getSystemService() in your Activity.

提交回复
热议问题