Code example for InputConnection

Methods: getTextBeforeCursor

0
                return ic.getTextAfterCursor(n,flags);
            } 
 
            public CharSequence getTextBeforeCursor(int n, int flags) {
                Log.w(TAG, "getTextBeforeCursor(" + n + "," + flags + ")");
                return ic.getTextBeforeCursor(n,flags);
            } 
 
            public boolean performContextMenuAction(int arg0) {
                Log.w(TAG, "performContextMenuAction" + arg0);
                return ic.performContextMenuAction(arg0);
            } 
 
            public boolean performPrivateCommand(String arg0, Bundle arg1) {
                Log.w(TAG, "performPrivateCommand" + arg0 + "," + arg1);
                return ic.performPrivateCommand(arg0,arg1);
            } 
 
            public boolean reportFullscreenMode(boolean arg0) {
                Log.w(TAG, "reportFullscreenMode" + arg0);
                return ic.reportFullscreenMode(arg0);