We are trying to build android activity that listen to any key press (either character or command) something like custom EditText.
- Is there something like keyboard hook in
Windows OSavailable on Android? - Is it possible to listen for all key pressed for all controls (
EditTextand other controls)? - Could this be achieved by an activity that runs in the background?
EDIT
As for security, we want to get keyboard events only for our app activity, ex: when our activity is shown and focused.