3

I need to integrate with google calendar, I have the basic stuff with API happening, but now realised that a reminder only informs via email, SMS

So the google api "push notification", POSTs to a URL wont work with reminders...

So how can I inform in my app that a reminder is triggered, is there a work around?, checking email is not very scalable. And polling the google calendar server, is not scalable either?, I will have to poll each user account on my solution?

How to notify of reminder with API?, thanks

[what are "pop ups" as other notifier method on above link for google-calendar?]

manuelBetancurt
  • 15,428
  • 33
  • 118
  • 216

1 Answers1

1

Regarding your question about popup, it is stated that reminders are sent via a UI popup.

EventReminder[] reminderOverrides = new EventReminder[] {
    new EventReminder().setMethod("email").setMinutes(24 * 60),
    new EventReminder().setMethod("popup").setMinutes(10),
};

You may refer with this SO thread: How to Create a Reminder Notification wherein you need AlarmManager to schedule your notification at a regular bases (daily, weekly,..) and a Service to launch your notification when the AlarmManager goes off.

Community
  • 1
  • 1
abielita
  • 13,147
  • 2
  • 17
  • 59