I’m trying to set alarm for calendar events that are inserted through my application. I have also set alarm for events(i.e) when calendar event notification shows, Alarm also sounded. Now, if I update the event time, I must get the alarm time also be updated from old time to new time. How to make out this?
Any help is highly appreciated and Thanks in advance…
I’m trying to set alarm for calendar events that are inserted through my application.
Share
Does android have any ‘foreign key’ type relationship between Events and their Reminders in its calendar content provider? I think there it is, and can help you. The link below is from android calendar app’s source, and it is related to edit event activity, used in editing and inserting events. in
save()method, used in this class, you can find how android itself saves events, and stores them, I think it would help.click to see android calendar src code