Hey, that did it! I set the the mime type to 'message/rfc822' and it worked right away. Brings up the default mail application with the fields that I specified populated.
I had been trying to send it with a mime of text/plain and text/html. I thought that by specifying an EXTRA_EMAIL it would fire the right broadcast receivers, but I guess the mime type is what counts. Thanks again! On Oct 30, 3:20 pm, "Justin" <[EMAIL PROTECTED]> wrote: > John, > > Take a look > athttp://code.google.com/android/reference/android/content/Intent.html, > there are several e-mail related fields you probably want to set. For a > mime type try 'message/rfc822' or 'message/rfc2822'. I haven't tried this > myself, so let me know how it works. > > Cheers, > Justin > Android Team @ Google > > Original Message Follows: > ------------------------ > From: john <[EMAIL PROTECTED]> > Subject: [android-developers] Sending email > Date: Thu, 30 Oct 2008 08:02:36 -0700 (PDT) > > Hello! > > Thanks in advance for trying to help me out. It doesn't seem like > anyone has found a solution to this problem yet, so hopefully we can > figure this out and help a lot of people. > > I'm trying to get my application to send an email, but i can't seem to > find any solutions. Here's what I'm trying: > > I've got an Intent (called sender in this example) set to > Intent.ACTION_SEND, with various email extras. > > When I try startActivity(Intent.createChooser(sender, "Select send > method.")); > I get "No application can handle this request" > > And when I try sendBroadcast(Intent.createChooser(sender, "Select send > method.")); > Nothing happens at all. > > Is there something I need to put in my manifest file, or am I doing > this completely wrong? > > Any help anyone can offer would be greatly appreciated. Happy coding! > > -John --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---