Is there a way of programmatically generating a rrule string for an event in Android?
I found the RecurrenceEvent class in the Android source that generates a String from its fields. However, it does not seem to be accessible.
Is there a way of programmatically generating a rrule string for an event in Android?
I found the RecurrenceEvent class in the Android source that generates a String from its fields. However, it does not seem to be accessible.
In Android 4.0+, A recurring rule is stored inside the RRULE column in CalendarContracts.Events
.
See here on how to Query CalendarContracts and fetch that column of the event.
You should refer to the RFC5545, in the specific to:
I'm currently looking for an easy way of creating recurrent events on Android's Calendar content provider. I'll edit my answer if I'll have more info to share.
Hope it helps! ;)