I want to know what IME is using currently in android.
I tried InputMethodManager.getEnabledInputMethodList(), but I can only get the list of IMEs.
I can't figure out how to determine which one is currently selected of the list.
How can I get which input method had selected currently?
You can get a default IME, use:
Settings.Secure.getString(getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD);
As this answer says.
InputMethodManager.getEnabledInputMethodList()
精彩评论