Hi I am displaying an icon in status bar depending up on my condition .upto this it is ok.Now problem in my application is when i come back to application still the icon is displayed in the status bar.I don't want the icon when i come back from the application.For this give me some suggestions
A:
You can cancel()
your own Notifications
via the NotificationManager
. It is up to you to decide when to cancel()
it and when to show it.
CommonsWare
2010-05-14 11:52:59