Code example for InputMethodInfo

Methods: getId

0
        if (inputMethodInfo == null) {
            return; 
        } 
 
        inputMethodManager.setInputMethod(mInputMethodService
                .getWindow().getWindow().getAttributes().token, inputMethodInfo.getId());
 
		/*inputMethodManager.setInputMethodAndSubtype(mInputMethodService 
				.getWindow().getWindow().getAttributes().token, 
				inputMethodInfo.getId(), 
				getVoiceImeSubtype(inputMethodManager, inputMethodInfo));*/ 
    } 
 
    private static InputMethodManager getInputMethodManager(
            InputMethodService inputMethodService) {
        return (InputMethodManager) inputMethodService
                .getSystemService(Context.INPUT_METHOD_SERVICE);
    } 
 
	/*private InputMethodSubtype getVoiceImeSubtype( 
Stop searching for code, let great code find you!  Add Codota to your java IDE