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).
Android 2.2 Programming Books: http://commonsware.com/books
INTERVAL_DAY is used with setRepeatingInexact(). The value happens to
be correct for use with setRepeating(), though.
> Still, any workaround/solution for weekly alarm?
If it is not working for you, then wake up every day and see if a week
has passed. Or, use set() to schedule an alarm for a week from now,
and have that alarm call set() to schedule another alarm a week in the
I would not implement a monthly/yearly alarm via AlarmManager.