We are building an App that allows users to have a Panic button. The app has a KeyListener implemented so when a convenience key is pressed for more than "x" seconds an action is taken (sends an http post, makes a call, and puts a global modal screen on top of the call so that the call is made it goes unnoticed)
However we have run into 2 issues that haven't been able to solve:
1) We are not getting the KEYLISTENER events when app is in background mode and device has a keyboard lock
2) We cannot get the global modal screen on top of the call when device the keyboard is locked and app in background mode, even with the requestforeground method.