Toxic Bakery

Tag: Email Intent

Creating Email Intents In Android With Attachments

by on Nov.19, 2010, under Android Development

If you are attempting or have attempted creating the proper email intent in Android you know its poorly documented and there are a lot of conflicted, untested and often plain wrong examples out there. That said hopefully I can clear up some of the confusion from the research I put into figuring it out.

First, sending an email is actually pretty easy and I am sure from a simple Google search most developers could have an email sent in a few minutes of after copying and pasting. The trick comes from when you need to add attachments and this is what is confusing. Without making it obvious, the stock Google applications can not handle multiple attachments and the only email application, that I know of, which can handle an intent with multiple attachments is K9 email. That said, you definitely do not want to rely on the user having a specific email application.

(continue reading…)

14 Comments :, , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!