Stack Overflow Asked by Elior Cohen on January 18, 2021
On Android, I’ve been trying to retrieve rdate for recurring calendar event.
I’ve used the following:
Cursor cursorCalendarEvents = getContentResolver().query(
Uri.parse("content://com.android.calendar/events"),
new String[]{"rdate"},
null, null, null);
assert cursorCalendarEvents != null;
cursorCalendarEvents.moveToFirst();
for (int i = 0; i < cursorCalendarEvents.getCount(); i++) {
calendarEventRTDateArr.add(cursorCalendarEvents.getString(0));
cursorCalendarEvents.moveToNext();
}
cursorCalendarEvents.close();
URLs:
https://developer.android.com/reference/android/provider/CalendarContract.EventsColumns#RDATE
I get ‘null’ When I set up a recurring event.
thanks
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP