Android get available input languages

前端 未结 1 890
时光说笑
时光说笑 2021-01-29 04:31

I\'m trying to get the available input devices on Android, in order to do that I\'m using the InputMethodManager and using the API of getEnabledInputMethodLis

1条回答
  •  执笔经年
    2021-01-29 05:14

    There is no way to do this. A keyboard doesn't report to Android the list of languages it supports.

    In fact, most keyboards keep the input language separate from the phone's locale, in order to switch without resetting the UI of the entire phone. So the OS has no idea what languages a keyboard can write in or is currently writing in.

    0 讨论(0)
提交回复
热议问题