[android-developers] Re: clearing notification

2011-07-18 Thread kamiseq
well, it seems that if I send notification with ID (ongoing ID = 0) Notification.FLAG_ONGOING_EVENT | Notification.FLAG_FOREGROUND_SERVICE then it will stay forever there;] and if I send other notifications to the same ID (0), icon and intents will update but flags stay :/ I dont know if this is a

Re: [android-developers] Re: clearing notification

2011-07-18 Thread TreKing
On Mon, Jul 18, 2011 at 7:53 AM, kamiseq wrote: > and I can see this new icon, but when I click on the notification when > I expand status bar it is not clearing itself :/ > this is weird right? > Shouldn't make a difference, but get rid of the alert once flag and just use the auto cancel flag.

[android-developers] Re: clearing notification

2011-07-18 Thread kamiseq
ok, in on destroy im sending new Notification with different icon (ok this wasnt obvious from the code I posted before): final Notification notification = new Notification(icon, notify_title, when); //IM SURE THE ICON IS CHANGED final PendingIntent contentIntent = PendingIntent.getActivity(this,

[android-developers] Re: clearing notification

2011-07-18 Thread rich friedel
Just because the service is no longer there and the process gone, this does not mean onDestroy() was in fact called. The system can silently kill the service without ever calling onDestroy(). -- You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] Re: clearing notification

2011-07-18 Thread kamiseq
I ll check that method name im using! yes it is called because my service is not running and there is no process for my app! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroup