Re: [android-developers] App closed but notification is visible
Yes ... it will be.. You must cancel your notification via your notification ID..you gived id for create it and you should use id for destroy.. 2011/9/21, TreKing treking...@gmail.com: On Wed, Sep 21, 2011 at 2:03 AM, b_t bartata...@gmail.com wrote: Do you know how can it happen that my app is not running but the notification is visible and how to solve this problem? You didn't provide much information, but if you set the notification and never cancel it, well, it's not going away. This could happen if you set the notification in an Activity and then it's finished() or if you set it in a Service and it completes and exits. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] App closed but notification is visible
Hi, My application creates an ongoing notification that displays battery state and updates it when battery event occurs. Very rarely I notice that this notification doesn't change, doesn't display the correct value. When this happens my application isn't running but the notification is visible. This is very weird because when I force stop my app then the notification disappears too. I don't use any task killer apps so I think the system killed my app. Do you know how can it happen that my app is not running but the notification is visible and how to solve this problem? Thanks, Tamás -- 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] App closed but notification is visible
On Wed, Sep 21, 2011 at 2:03 AM, b_t bartata...@gmail.com wrote: Do you know how can it happen that my app is not running but the notification is visible and how to solve this problem? You didn't provide much information, but if you set the notification and never cancel it, well, it's not going away. This could happen if you set the notification in an Activity and then it's finished() or if you set it in a Service and it completes and exits. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en