user1877987
user1877987

Reputation: 1

Listening to Key_events at background

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

Answers (1)

Richard
Richard

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

Related Questions