Hi,

I want to be able to send an email in my application, however I'm not
interested in the user entering their mail details/SMTP server. I
would like to forward the user off to another application that handles
email/contact selection.

It seems I should be able to use the Intent.ACTION_SEND.

                        Intent sendIntent = new Intent(Intent.ACTION_SEND);
                        sendIntent.putExtra(Intent.EXTRA_TEXT, "email text");
                        sendIntent.putExtra(Intent.EXTRA_SUBJECT, "subject");

                        startActivity(Intent.createChooser(sendIntent, "Chooser 
Title:"));

But the emulator tells me "No applications can perform this action."

Will the G1 with an email client and GMail potentially handle this
intent correctly?

Is it possible to get the GMail app installed on the emulator?

Thanks!

Daniel

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to