I'd like my activity to be able to open a file attached to an email.
To open a file downloaded in the browser, I set up the following
intent filter:

      <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />
        <data android:mimeType="my/mime-type" />
      </intent-filter>

I assume I would do something similar to open an email attachment,
possibly with a different intent category. I could try matching using
scheme+authority+path instead of mime type, but I have no idea what
values to use for received emails.

Has anyone done this, or seen it done? Thanks in advance!

Jim

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