On Tue, Oct 26, 2010 at 1:50 AM, Tim <[email protected]> wrote: > Hi Guys, > > "AlarmManager.setRepeating()" can be set with "interval". But the max > available interval is daily - "INTERVAL_DAY". So, how to set weekly/ > monthly/yearly interval?
INTERVAL_DAY is used with setRepeatingInexact(). setRepeating() takes a number of milliseconds. I am not aware of any upper limit on the value. That being said, AFAIK, it is not designed for long intervals (e.g., yearly). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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

