However I couldnt send an image attachment along with this.Reason is when we remove awt dependecies awt .Toolkit which is needed to implement jpeg/png mailcap also removed Thanks Isuru
On Mon, Sep 28, 2009 at 12:14 PM, Isuru danagalle <iisuru....@gmail.com>wrote: > I have done this.You need to remove awt dependecies from java mail and > build the activation jar and mail jar manually.If you need the code and jar > file contact me. > > Thanks > Isuru > > > On Wed, Sep 9, 2009 at 12:54 AM, Mark Murphy <mmur...@commonsware.com>wrote: > >> >> Jason Proctor wrote: >> >> Only if you include your own SMTP code. ACTION_SEND will always prompt >> >> the user, at least if they choose one of the built-in apps. >> > >> > did we ever get to the bottom of why JavaMail doesn't work on Android? >> > >> > some Dalvik translation problem IIRC >> >> I haven't played with JavaMail in nearly a year. I ran into that Dalvik >> issue, read up on the CDDL (JavaMail's license), and my head started to >> hurt. :-( >> >> What's worse, there's little else in the way of Java SMTP client >> libraries, AFAICT. >> >> -- >> Mark Murphy (a Commons Guy) >> http://commonsware.com | http://twitter.com/commonsguy >> >> _The Busy Coders' Guide to *Advanced* Android Development_ In Print! >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---