开发者

Find the language of the current Android keyboard [duplicate]

This question already has answers here: How to programmatically get current keyboard language on an Android device (2 answers) Closed 9 开发者_开发知识库years ago.

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);

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜