Code example for BaseInputConnection

0
	 
	@Override 
	public InputConnection onCreateInputConnection (EditorInfo outAttrs)
	{ 
		Log.v("trolololo", "Keyboard connection created");
        BaseInputConnection fic = new BaseInputConnection(this, false);
        outAttrs.actionLabel = null;
        outAttrs.inputType = InputType.TYPE_NULL;
        outAttrs.imeOptions = EditorInfo.IME_ACTION_NEXT;
        return fic;
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java