From 9a9001f008d68d11ba6cd928d20ed63ec5e869d1 Mon Sep 17 00:00:00 2001 From: Michael Chan Date: Mon, 14 May 2012 18:27:27 -0700 Subject: [PATCH] Update docs for launching custom app for calendar events Change-Id: I0aeeed91cc27f2c4fa9a026371713cb562776fa8 --- core/java/android/provider/CalendarContract.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/core/java/android/provider/CalendarContract.java b/core/java/android/provider/CalendarContract.java index 09bf42bb9170b..1ef0916e00170 100644 --- a/core/java/android/provider/CalendarContract.java +++ b/core/java/android/provider/CalendarContract.java @@ -105,6 +105,17 @@ public final class CalendarContract { * and it should call {@link Activity#setResult(int)} with * {@link Activity#RESULT_OK} or {@link Activity#RESULT_CANCELED} to * acknowledge whether the action was handled or not. + * + * The custom app should have an intent-filter like the following + *
+     * {@code
+     * 
+     *    
+     *    
+     *    
+     * 
+     * }
+     * 
*

* Input: {@link Intent#getData} has the event URI. The extra * {@link #EXTRA_EVENT_BEGIN_TIME} has the start time of the instance. The