Issue in reading a repeat event

153 Views Asked by At

I am working on a calendar application, where I am trying to read if a event is recurring. I am able to read the recurring event value on for the day when the recurring event was created.

Suppose I have created a events "xyz" on 24th apr, occurs daily (frequency) and ends on 26th April. So here in my app I can see only the event on 24th, I am not getting any event present on 25th and 26th these events are repeated.

I am using the following snippet to get all the events:

EventList eventList = null;
            eventList = (EventList) PIM.getInstance().openPIMList(
                    PIM.EVENT_LIST, PIM.READ_ONLY);

This not returning the dates where events are repeated. What is wrong here?

1

There are 1 best solutions below

3
On

Take a look to RepeatRule class and getRepeat, setRepeat methods in Event class