On Wed, Apr 24, 2013 at 12:58 AM, Piren <[email protected]> wrote: > Were you talking about the notification of the service? because that can > obviously cannot be removed while the service is running.. it's whole point > is to show you have a foreground service.
I was trying to remove the notification from the service after stopping the service. So I was calling service.stopSelf() then notificationManager.cancelAll() in that order. That doesn't work, I had to call service.stopForeground(true). That worked. Larry -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

