I\'m trying to use Android\'s new calendar API to read all of today\'s calendar events. I\'m have trouble finding the right selection on the database query to return all of
Your conditions only give you the events that are strictly in today limits. You should check the ones that start before today and end after (multidays event).
For recurring events, I check them manually. I don't found another way.
I use something like:
String selection = "((" + CalendarContract.Events.DTSTART + " <= ?) AND (" + CalendarContract.Events.DTEND + " >= ?)) OR (" + CalendarContract.Events.RRULE + " is not null )";
String[] selectionArgs = new String[] { dtEnd, dtStart};
Regards,