How To Perform A Search Action By Android Custom Keyboard Action Button?
I'm developing an android custom keyboard. I need to perform search action, move cursor to next text field action according to the text fields that user selected. How to perform th
Solution 1:
I got the answer.
getCurrentInputConnection().performEditorAction(EditorInfo.IME_ACTION_GO);
getCurrentInputConnection().performEditorAction(EditorInfo.IME_ACTION_SEARCH);
getCurrentInputConnection().performEditorAction(EditorInfo.IME_ACTION_NEXT);
Post a Comment for "How To Perform A Search Action By Android Custom Keyboard Action Button?"