diff options
| author | Wu-cheng Li <wuchengli@google.com> | 2009-06-17 14:29:57 +0800 |
|---|---|---|
| committer | Wu-cheng Li <wuchengli@google.com> | 2009-06-19 18:48:37 +0800 |
| commit | 649f99e8347984c1e031dae302830f4c9ebd3df4 (patch) | |
| tree | 77fbf21a988d3ad99b7b492ecd04386e347183c2 /core/java/android/content | |
| parent | fd5f087536dcb04ac9c46f2b19f87a37455390b0 (diff) | |
| download | frameworks_base-649f99e8347984c1e031dae302830f4c9ebd3df4.zip frameworks_base-649f99e8347984c1e031dae302830f4c9ebd3df4.tar.gz frameworks_base-649f99e8347984c1e031dae302830f4c9ebd3df4.tar.bz2 | |
Add Intent.ACTION_SEND_MULTIPLE
Activities can use this intent to send multiple data.
Diffstat (limited to 'core/java/android/content')
| -rw-r--r-- | core/java/android/content/Intent.java | 17 |
1 files changed, 17 insertions, 0 deletions
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. + * <p> + * Like ACTION_SEND, except the data is multiple. + * <p> + * 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. + * <p> + * 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}. + * <p> + * 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. * <p>Input: nothing. * <p>Output: nothing. |
