Find the language of the current Android keyboard [duplicate]
how to find the language of the current keyboard in android in the code. and how can I set the language of the keyboard in the code. for example if the user select Chinese the Chinese keyboard should appear and if select English the English keyboard should appear .
There are plenty of questions similar to this one that are already answered. Most answers involve
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
精彩评论