David-

This is already supported in both the Email and Gmail apps.  Is there
a reason that you believed that it wasn't?

Here is the raw Javadoc straight from Intent.ACTION_VIEW:

    /**
     * Activity Action: Display the data to the user.  This is the most common
     * action performed on data -- it is the generic action you can use on
     * a piece of data to get the most reasonable thing to occur.  For example,
     * when used on a contacts entry it will view the entry; when used on a
     * mailto: URI it will bring up a compose window filled with the information
     * supplied by the URI; when used with a tel: URI it will invoke the
     * dialer.
     * <p>Input: [EMAIL PROTECTED] #getData} is URI from which to retrieve data.
     * <p>Output: nothing.
     */

So all you have to do is create an intent with the ACTION_VIEW action,
a "mailto:"; scheme in the Uri, and send it.

Hope this helps.
--Andy

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