0

I want to create a reminder in Google Calendar from my Android app.

Creating events is well-documented, there’s a Calendar content provider for that. However there seems to be no content provider contract for these standalone reminders (not to be confused with event reminders, aka event notifications).

In the app, "Reminders" is listed as a separate calendar along "Events", but when I query the CalendarContract.Calendars table, it’s not on the list. Querying the CalendarContract.Events also doesn’t list reminder events. So I guess they’re stored somehow differently, yet I cannot find any info on that.

Is there a way to create these reminders programmatically?

Actine
  • 2,867
  • 2
  • 25
  • 38
  • My guess is that you would have to use some Google Calendar-specific API, whether from Play Services (don't think there is one) or standard Web APIs. – CommonsWare Jan 16 '19 at 21:18
  • @CommonsWare oh wow, the legend himself! So, after some further searching, I found that despite it being a cross-application feature, there's no API [1](https://stackoverflow.com/questions/41294548) [2](https://stackoverflow.com/questions/25728176), and there's a [feature request](https://issuetracker.google.com/issues/36760283) for that – Actine Jan 16 '19 at 21:52

1 Answers1

1

Okay, after some more looking, answering my own question.

There’s no way to do this. Despite those reminders being a cross-application feature, there's no API to access them.

There's a feature request for this.

My question basically duplicates questions: [1] [2], I didn't find them because they mentioned other apps, which share the same reminders with Calendar.

Actine
  • 2,867
  • 2
  • 25
  • 38