i am developing security app on android platform. now my requirement is to handle home button press event when application not open or not in foreground screen.
is there any way to handle home button event out of application??
Handling detection of pressing home button is no longer supported: