diff options
author | Chih-Chung Chang <chihchung@google.com> | 2009-09-04 14:36:01 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2009-09-04 15:16:06 +0800 |
commit | 5962d279f9f231add9a2ad436eb432ac95ab0706 (patch) | |
tree | ff4c51a8941a1459fd11bedf5a2b4d222ae70e07 /core/java/android/content/Intent.java | |
parent | f163f7f0f29f0898eb82f54cf657cb34668abade (diff) | |
download | frameworks_base-5962d279f9f231add9a2ad436eb432ac95ab0706.zip frameworks_base-5962d279f9f231add9a2ad436eb432ac95ab0706.tar.gz frameworks_base-5962d279f9f231add9a2ad436eb432ac95ab0706.tar.bz2 |
Add more documents on the ACTION_SEND_MULTIPLE intent.
Change-Id: Ic3d7b74299611158470b729be654fbadde1691ff
Diffstat (limited to 'core/java/android/content/Intent.java')
-rw-r--r-- | core/java/android/content/Intent.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 1d1161e..e8b2984 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -923,6 +923,16 @@ public class Intent implements Parcelable { * get*ArrayListExtra can have either a {@link #EXTRA_TEXT} or {@link * #EXTRA_STREAM} field, containing the data to be sent. * <p> + * Multiple types are supported, and receivers should handle mixed types + * whenever possible. The right way for the receiver to check them is to + * use the content resolver on each URI. The intent sender should try to + * put the most concrete mime type in the intent type, but it can fall + * back to {@literal <type>/*} or {@literal *}/* as needed. + * <p> + * e.g. if you are sending image/jpg and image/jpg, the intent's type can + * be image/jpg, but if you are sending image/jpg and image/png, then the + * intent's type should be image/*. + * <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}. |