walterwest
Lurker
I need to use button in my activity instead android keyboard. I finde example:
InputConnection ic = getCurrentInputConnection();
ic.deleteSurroundingText(4, 0);
ic.commitText("Hello", 1);
ic.commitText("!", 1);
But I can't understand how use it in my application. Where should I create class that extends InputMethodService, and what this class must have. Please help!!!
InputConnection ic = getCurrentInputConnection();
ic.deleteSurroundingText(4, 0);
ic.commitText("Hello", 1);
ic.commitText("!", 1);
But I can't understand how use it in my application. Where should I create class that extends InputMethodService, and what this class must have. Please help!!!