One thing I'm unsure of is how to schedule an alarm for a certain
time, like 8am every day.

All I can see is setting a repeat, at an interval of x milliseconds.
Ok, so I can say "one day's worth" of milliseconds, but that's placing
a lot of trust on the system clock? I can see that going wrong
somehow...

On Feb 1, 5:55 pm, Kostya Vasilyev <[email protected]> wrote:
> 01.02.2011 20:35, Neilz пишет:
>
> > Right, thanks. And will that stay on the device as long as the app is
> > still installed?
>
> Yes.
>
> > (And, I suppose, will it get removed if the app is
> > uninstalled?)
>
> Believe so.
>
> -- Kostya
>
>
>
> > On Feb 1, 5:25 pm, Kostya Vasilyev<[email protected]>  wrote:
> >> Right, alarms are not persistent.
>
> >> Implement a receiver for android.intent.action.BOOT_COMPLETED, and set
> >> the alarm again after the device reboots.
>
> >> -- Kostya
>
> >> 01.02.2011 20:22, Neilz пишет:
>
> >>> Thanks... this seems to be what I'm after.
> >>> However I just put together a simple repeat alarm, outputting a Toast
> >>> every minute, which was fine.
> >>> But it didn't work again after a phone restart... how can this be
> >>> implemented?
> >> --
> >> Kostya Vasilyev -- WiFi Manager + pretty widget 
> >> --http://kmansoft.wordpress.com
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

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

Reply via email to