Android : How do I get the calendar eventID from the notification's broadcast intent?

on Saturday, August 9, 2014


I have a broadcast receiver that listens for a calendar reminder event (when it pops up in the notification tray).


It gets the Intent and the intent's action ("android.intent.action.EVENT_ REMINDER"), but I don't know how to get information about the calendar event from that intent. How do I get that from the Intent?


<intent-filter> <action android:name="android.intent.action." /> <data android:scheme="content" /> <data android:host="com.android.calendar" /> </intent-filter>


0 comments:

Post a Comment