【发布时间】:2011-04-24 09:22:26
【问题描述】:
我想将斯堪的纳维亚键盘设置为 Android 设备上的默认键盘,并且 我想通过代码来做到这一点。 所以我尝试使用 InputMethodManager :
InputMethodManager mng = (InputMethodManager)getSystemService(LoginActivity.INPUT_METHOD_SERVICE);
List<InputMethodInfo> m_list=mng.getInputMethodList();
我找到了 InputMethodManager 类的方法 setInputMethod (IBinder token, String id)。但我没有找到解释我如何使用它的示例/文档。有什么建议吗?谢谢。
【问题讨论】: