It is possible to change the Icon of the status bar (notification icon) dynamically?

Just call notify() again on NotificationManager with a new Notification but the same unique ID as you used for the first one. It will replace your icon of the existing Notification (or display the new Notification if the user cleared the first one).

It doesn't works, im doing it but notification bar doesn't updates, it still shows the same text and icon :S – AndroidUser99 Jan 21 at 13:10 @AndroidUser99: OK, then cancel() the original Notification and raise the new one. – CommonsWare Jan 21 at 13:15 how can I cancel the original notification on that service? – AndroidUser99 Jan 21 at 13:45 @AndroidUser99: Call cancel() on NotificationManager, passing in the unique ID of the notification to remove.

– CommonsWare Jan 21 at 13:53 1 @AndroidUser99: If you notify() an already existing Notification, it will no re-display the ticker text. If you need the ticker text to show, you need to cancel() the Notification, then notify() it again. – CommonsWare Jan 21 at 14:30.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions