Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read reminders in google calendars

I'm trying to read the reminders set by the user. What I mean with "reminder": currently there are two different meaning, the first one is the "alert" related to each event in the calendar and you can read them from CalendarContract.Reminders, the second one are unrelated events inserted by the user via Google Now with "remember me to...." or via Google Calendar app with insert reminder action. I'm talking about the second one. I'm reading from the event table CalendarContract.Events. However it seems that this information is not saved there or it's not accessible. Is there a different content provider for reminders?

like image 765
greywolf82 Avatar asked Feb 21 '16 10:02

greywolf82


1 Answers

The Reminders data seems to be held in a database accessible by the 'com.google.android.gms.reminders.provider.RemindersProvider' content provider.

Unfortunately, the provider is not exported and therefore is not accessible to third party apps.

Needless to say that the content provider is not documented and no public API exists.

like image 197
OferR Avatar answered Oct 02 '22 09:10

OferR