hi,

I want to send an e-mail, and so I use the typical intent --

Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
emailIntent.putExtra(Intent.EXTRA_SUBJECT, subject);
emailIntent.putExtra(Intent.EXTRA_TEXT, text);
emailIntent.setType("text/plain");
startActivity(Intent.createChooser(emailIntent, "Pick EMail");

When I do this, the chooser comes up and gives all kinds of choices,
for anything that can handle text/plain i assume, because there's
stuff in there that doesn't support "e-mail".  How can I make it so
that it will only show applications that support email (gmail, mail,
yahoo mail, etc...) and not stuff like "Bluetooth", "Facebook", etc...

tia.

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

Reply via email to