What you want is ACTION_SEND_MULTIPLE. You will receive a set of
Uris.
Something like
if (Intent.ACTION_SEND_MULTIPLE.equals(action))
&& Intent.hasExtra(Intent.EXTRA_STREAM)) {
ArrayList<Parcelable> list =
intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM);
for (Parcelable p : list) {
Uri uri = (Uri) p;
/// do something with it.
}
}
Just add android.intent.action.SEND_MULTIPLE to your manifest.
Bruce
On Dec 22, 11:31 am, Hans-Erik <[email protected]> wrote:
> On 22 Dec, 20:17, Mark Murphy <[email protected]> wrote:
>
> > ACTION_SEND only supports sending one item.
>
> Thanks for your reply
> Do you know any other way to do this?
> My Activity is dormant and awaken by the user selecting images.
> There has to be another way to do this right?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en