My application runs in the background and gets a notification when the volume on the device changes. The service then has to show a warning message based on the volume levels.
What kind of a service should this be.
Thank you.
My application runs in the background and gets a notification when the volume on the device changes. The service then has to show a warning message based on the volume levels.
What kind of a service should this be.
Thank you.
For achieving this, you need to register a broadcastreceiver. Take a look at this question: