Re: [android-developers] Notifications and killed app
The "swipe" thing has a funny way of working when you have a foreground service... everything in the app gets closed (all activities are gone) except for that service... that means that if you re-launch the app you need to figure out the "state" the app was before.
in you case, display which files are being played and go back to showing the ui in "playing" mode.
regarding the notification, see my other response.
On Tuesday, April 23, 2013 7:47:32 PM UTC+3, Larry Meadors wrote:
-- On Tuesday, April 23, 2013 7:47:32 PM UTC+3, Larry Meadors wrote:
BTW, there is a foreground service here, and that service lives on.
That's what I can't quite get my head around. The service is still
running and our activity starts and binds to it.
But when we call "notificationManager.cancelAll();" from the service,
it doesn't cancel the previously created notification. :-/
Larry
--
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+unsubscribe@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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home