Hi,

You can use the AlarmManager API's setRepeating() method to set a repeating
alarm. Set the 'Interval' argument of the setRepeating() method to 1 hour
(convert to milliseconds).
http://code.google.com/android/reference/android/app/AlarmManager.html

Sample code:
http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/AlarmService.html

Thanks,
Megha

On Sat, Mar 22, 2008 at 8:17 AM, Dexter's Brain <[EMAIL PROTECTED]>
wrote:

>
>
> Hello All,
>
> Is there an Intent for time that is broadcast every hour, or day. I
> somewhere read, that an intent is broadcast every second/minute. Can I
> get an intent broadcast for every day?
>
> I dont want to write an intent that is triggered every minute and then
> check for the time to trigger my application, which needs to be
> triggered only once a day.
>
> Regards,
> Dexter.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to