Sunday, July 3, 2011

Re: [android-developers] Reliable method for sending attachment in email intent

The way it's supposed to work, according to the documentation, is:

- An ACTION_SEND with an EXTRA_STREAM holding a content:// Uri as a
parcelable.

- An ACTION_SEND_MULTIPLE with EXTRA_STREAM holding multiple content://
Uris as an array of parcelables.

You also may want to check the sources of the built-in email application.

-- Kostya

03.07.2011 23:36, EmilDiego пишет:
> I've tried a variety of different methods of attaching attachments to
> email intents and I haven't found a 100% reliable solution yet.
> Sometimes it works with 1 email apps but not others.
> I've tried a variety of Intent.putExtra calls. I've tried passing the
> uri of the file on the device, using the parceable class, etc.
>
> Does anyone have any suggestions or know of a reliable way to do this.
>

--
Kostya Vasilyev

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment