Add Intent.ACTION_SEND_MULTIPLE

Activities can use this intent to send multiple data.
This commit is contained in:
Wu-cheng Li
2009-06-17 14:29:57 +08:00
parent fd5f087536
commit 649f99e834
2 changed files with 28 additions and 0 deletions

View File

@@ -31950,6 +31950,17 @@
visibility="public"
>
</field>
<field name="ACTION_SEND_MULTIPLE"
type="java.lang.String"
transient="false"
volatile="false"
value="&quot;android.intent.action.SEND_MULTIPLE&quot;"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="ACTION_SET_WALLPAPER"
type="java.lang.String"
transient="false"

View File

@@ -914,6 +914,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.