Code example for InputConnection

Methods: finishComposingText, getTextBeforeCursor, setComposingText