开发者

How to update an alarm time in calendar when events are updated?

开发者 https://www.devze.com 2023-04-10 04:35 出处:网络
I\'m trying to update the alarm time that is set when calendar events are i开发者_运维技巧nserted.

I'm trying to update the alarm time that is set when calendar events are i开发者_运维技巧nserted. I've searched through net and got a final that the event alarm can be cancelled and the particular event alone can be updated with new time for alarm. I'm struck out here how to implement it. Any help is highly appreciated and thanks in advance...


You don't want to be messing with the calendar. It's not part of the Android API, and even if there exists a back door, it is highly discuraged to use it.

Even if you want a "Snooze" functionality, you won't be able to capture the Intent that causes the alarm to go off, as this is not an API standard, and may be fired targeting a specific receiver class.

You can however access and modify the calendar entries through the Google Data API, but that's a whole different story.

0

精彩评论

暂无评论...
验证码 换一张
取 消