From 649f99e8347984c1e031dae302830f4c9ebd3df4 Mon Sep 17 00:00:00 2001 From: Wu-cheng Li Date: Wed, 17 Jun 2009 14:29:57 +0800 Subject: Add Intent.ACTION_SEND_MULTIPLE Activities can use this intent to send multiple data. --- core/java/android/content/Intent.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'core/java/android/content') diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 17fcb91..11538b0 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -915,6 +915,23 @@ public class Intent implements Parcelable { @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_SEND = "android.intent.action.SEND"; /** + * Activity Action: Deliver multiple data to someone else. + *

+ * Like ACTION_SEND, except the data is multiple. + *

+ * Input: {@link #getType} is the MIME type of the data being sent. + * get*ArrayListExtra can have either a {@link #EXTRA_TEXT} or {@link + * #EXTRA_STREAM} field, containing the data to be sent. + *

+ * Optional standard extras, which may be interpreted by some recipients as + * appropriate, are: {@link #EXTRA_EMAIL}, {@link #EXTRA_CC}, + * {@link #EXTRA_BCC}, {@link #EXTRA_SUBJECT}. + *

+ * Output: nothing. + */ + @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) + public static final String ACTION_SEND_MULTIPLE = "android.intent.action.SEND_MULTIPLE"; + /** * Activity Action: Handle an incoming phone call. *

Input: nothing. *

Output: nothing. -- cgit v1.1