input - Listening to key events from softinput (keyboard) on Android -


In my application, I want to get user input whatever is with their default soft input, but I use any input field I'm not. I have already picked up the soft input, but now I need to hear the keyboard events from that soft input.

I have assumed that this will be a solution problem, but I am facing problems with the document.

Is it obviously obvious?

Cheers.

InputManager # showSoftInput (view view, int Flags) after you open the soft input you have to set it as OnKeyListener as this view and you will receive all the major events.

Comments