is 开发者_如何学Gothere any way to show the Input Method selection dialog from the source code?
From inside an Activity:
InputMethodManager imm = (InputMethodManager) this.getSystemService(Context.INPUT_METHOD_SERVICE);
imm.showInputMethodPicker();
Or if you have a Context object (or getContext() (a subclassed view)):
InputMethodManager imm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
imm.showInputMethodPicker();
精彩评论