Thursday, April 12, 2012

[android-developers] Directly accessing the e-mail app.

How do I directly choose the default e-mail app, without going through the chooser?

I would also like to set some of the values through the intent, like:

emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, recipients);
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "blah");
emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "Wow! direct email works");
emailIntent.setType("text/plain");


Is there any way I can do it, without going through the chooser?


--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate