Re: [android-developers] Services and Alarm Manager
On Mon, Jun 13, 2011 at 4:52 PM, Simon Platten
<simonaplatten@googlemail.com> wrote:
> I finally got my application to continue after a reboot, however if I use a
> task manager to kill the application the scheduled alarms also appear to
> stop.
Correct. Same goes if the user force-stops you through the Settings app.
> I have scheduled a repeating alarm in the alarm manager and this goes off at
> regular intervals, after a reboot the alarm is set-up again and continues to
> be scheduled, but if I kill my application with a task manager the alarm
> also ceases to be scheduled. I've tried using the debugger to see whats
> going on and all I can say is that the process isn't there any more which is
> what I would expect, but I would have thought the scheduled alarm should
> have remained scheduled?
Nope. If the user wants you gone, you're gone.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, One Low Price!
--
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home