Reputation: 1
I want My App to listen to Key_events while running in the background.My app does so when it is running in the foreground but is not able to do so while running in the background
Upvotes: 0
Views: 39
Reputation: 8920
Button press and key press events are are restricted, though the restriction varies with OS version. With the latest versions background processes can receive volume and call control events. As Nate hopes, no background process will receive key press events that may disclose protected information.
Upvotes: 1