That's great. Thanks. Unfortunately this tells me I have to live with
what I have since it's beyond my control. I don't mind if other email
clients (gmail or whatever) pick up the intent - it's the user's
choice - I'd just rather not pick up apps that are not especially
suited to my purpose. So it goes.

On Jun 26, 10:09 pm, Doug <[email protected]> wrote:
> For Email/MMS app:
> (from packages/apps/Email/AndroidManifest.xml and packages/apps/Mms/
> AndroidManifest.xml)
>
>                 <data android:mimeType="text/plain" />
>                 <data android:mimeType="image/*" />
>                 <data android:mimeType="video/*" />
>
> Of course, these are just the mimeType's mentioned in the manifest
> files distributed as part of the 1.5 source - any additional apps
> installed on the phone (like the GMail client) will undoubtedly
> provide their own.  And anything could happen in the next release :)
>
> Doug
>
> On Jun 26, 1:05 pm, Nmix <[email protected]> wrote:
>
> > I am experimenting with sending email from within my app by launching
> > an email app with startActivity(Intent.ACTION_SEND) or
> > (Intent.createChooser(i, title) with various extras.  I have it
> > working, although not completely to my liking.
>
> > ACTION_SEND is fairly generic so the chooser pulls up email apps and
> > also messaging apps. If there's just the one email app, this means one
> > extra step for the user that would be nice to avoid.  Is this
> > possible?
>
> > Another question is with the mime type set with intent.setType(). The
> > doc on setType suggests "text/plain" when EXTRA_TEXT is used. This
> > works ok. However when I had first tried setting the mime type to
> > "message/rfc822", the chooser failed to find any app that could handle
> > it. (I found this from an example posted by Mark Murphy on Dec 12/08.)
> > This makes me wonder just how I can latch onto the email apps more
> > effectively. Is there a list of mime types that are handled by the
> > Google-supplied messaging apps? Maybe some choice will help me to
> > avoid having the chooser pull up unwanted choices.
>
> > Thanks.
--~--~---------~--~----~------------~-------~--~----~
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