I am displaying a Notification in status bar depending up on my condition. Up to this, it is OK.
Now problem in my application is when I come back to application, still the Notification is displayed in the status bar.
I don’t want the Notification when I come back from the application. For this give me some suggestions.
You can
cancel()your ownNotificationsvia theNotificationManager. It is up to you to decide when tocancel()it and when to show it.