In my application I want to listen to notification bar when my application is running in background. I want to do some action when I receive that notification. Can any one tell me how can I listen to notification bar changes. Thanks in advance.
Share
You can’t.
Read and digest the documentation and note;
Or to put it another way, if your application is in the background, you only find out about the notification if the user taps on the action button. This is by design.