Thursday, June 3, 2010

[android-developers] Re: Do scheduled alarms persist between app upgrades?

Hi,

The alarm is registered in system. So, it isn't removed.

BR

On Jun 3, 4:53 pm, Mark Wyszomierski <mar...@gmail.com> wrote:
> Hi,
>
> My app schedules an alarm, like:
>
>   AlarmManager mgr = (AlarmManager)context.getSystemService(
>       Context.ALARM_SERVICE);
>   mgr.setRepeating(...);
>
> with the alarm scheduled, what happens if I release a new version of
> my app, and the user upgrades the app? Will this alarm be removed? Or
> will it be left untouched, and fired as expected?
>
> Thanks

--
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

No comments:

Post a Comment