Saturday, April 27, 2013

[android-developers] Questions when querying recurring events in CalendarContracts.Instances

Hello AD,

I'm having some trouble querying CalendarContracts.Instances.

It seems that the Events table is updated immediately when a recurring event is created, however, Android does not always expand the event into Instances.

For example, if you create an event that recurs yearly (eg. birthday), Android creates an entry in Events, but no entries in Instances.

Same goes for creating an event that recurs frequently, but the first instance occurs far off into the future. (eg. recurs every 2 days, but starts 3 years later)

To conclude, it seems that Android does not create an entry in the Instances table if the instance is too far off into the future!!!


So, to program insuring against this type of behavior, does anyone know how often does Android expand CalendarContracts.Events into CalendarContracts.Instances entries?

Also, how far off into the future does Android expand Events into Instances?




Let me know if my questions are too vague and causes confusion.

Thank you for your time.

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate