如何知道Android中的当前IME?

时间:2010-08-28 09:48:09

标签: android keyboard ime android-input-method

我想知道IME目前在android中使用了什么。

我尝试了InputMethodManager.getEnabledInputMethodList(), 但我只能获得IME列表。

我无法弄清楚如何确定当前选择哪一个列表。

如何获取当前选择的输入法?

2 个答案:

答案 0 :(得分:2)

您可以使用默认的IME:

Settings.Secure.getString(getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD);

正如this回答的那样。

答案 1 :(得分:0)

InputMethodManager.getEnabledInputMethodList()