Thanks Mark.
I am using "INTERVAL_DAY"with "setRepeating(...,long interval,...)".
Still, any workaround/solution for weekly alarm?

On Oct 26, 1:56 pm, Mark Murphy <[email protected]> wrote:
> 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/commonsguyhttp://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

Reply via email to