Did anyone come up w/ a solution for this? I've been trying to do the same thing and see the same issue. I've tried to work JavaMail directly but there are issues around the activation.jar and awt files it requires for attachments. Any advice/info would be greatly appriciated.
Thx, RE On Aug 20, 12:22 pm, "brian.schimmel" <[email protected]> wrote: > It seems there just is no alternative method. This is the code inside > theEmailapp: > > if (Intent.ACTION_SEND.equals(intent.getAction()) && intent.hasExtra > (Intent.EXTRA_STREAM)) { > String type = intent.getType(); > Uri stream = (Uri) intent.getParcelableExtra > (Intent.EXTRA_STREAM); > if (stream != null && type != null) { > if > (MimeUtility.mimeTypeMatches(type,Email.ACCEPTABLE_ATTACHMENT_SEND_TYPES)) { > addAttachment(stream); > } > } > } > > There is no loop and nothing else that could take care ofmultipleattachments. > > Maybe your Application can create a Zip-Archive with all the files and > add this as an attachment? > > On 29 Jul., 06:34, SrilankanKK <[email protected]> wrote: > > > On Jul 28, 8:50 am, Jack Ha <[email protected]> wrote: > > > > As far as I know, it only supports one attachment as Intent.putExtra() > > > will replace any existing value for the given key. > > > > -- > > > Jack Ha > > > Open Source Development Center > > > ・T・ ・ ・Mobile・ stick together > > > > The views, opinions and statements in thisemailare those of > > > the author solely in their individual capacity, and do not > > > necessarily represent those of T-Mobile USA, Inc. > > > > On Jul 28, 4:31 am, SrilankanKK <[email protected]> wrote: > > > > > Hi.... > > > > > i have put this question on several time on the Developer forum. But i > > > > didn't get any answer. > > > > > I build anemailapplication using intents. I can send aemailwith > > > > one image attachment. I tried to attachmultipleimages using "putExtra > > > > ()" method.But it still send only a single image if any of You know a > > > > solution plz leave a reply > > > > > Thanks > > > Ya i think so, but is there any alternative method to do this. > > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

