【发布时间】:2012-04-27 14:40:55
【问题描述】:
我的应用程序有 2 个部分。一个 InputMethodService 和一个 Activity。我所做的是单击 Activity 中的 Button 以查看所有可用的 InputMethod,但我在列表中看不到我的 InputMethod。
但之后我可以从设置中看到它>>>语言和键盘
这是相关代码
InputMethodManager inputManager = (InputMethodManager) getSystemService (Context.INPUT_METHOD_SERVICE);
inputManager.showInputMethodPicker();
【问题讨论】: