Android Question Back key in running Service

berndm2

Member
Licensed User
Longtime User
How can I intercept the back key in a running service in the background to start an action?
Thank you
 

DonManfred

Expert
Licensed User
Longtime User
You only can react in an activity when the activity goes to the background.
You can not intercept the backkey or home key.
 
Upvote 0
Top