简体   繁体   中英

Calendar events triggering an intent?

I am writing an app and basically i need to know if there is some way to trigger an intent from my app upon an added calendarevent in google's built-in calendar. Just to be clear, I wouldn't want my app running in the background. The added calendarevent would trigger my app to wake up.

Cheers, Simon

The Calendar app does not send an intent when an event is added. All you can do is read and write calendar data using intents as described here: http://developer.android.com/guide/topics/providers/calendar-provider.html#intents

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM