I don't know what MimeTypeMap is, but to get an icon you build an Intent and
query the package manager for the activity that can handle it.  For a
particular MIME type the generic intent you probably want is the VIEW action
with the MIME data type you are interested in.

On Tue, May 12, 2009 at 12:27 PM, James McMurray <[email protected]
> wrote:

> Is it possible to get an icon that is tied to a mime type? I can get the
> mime type via MimeTypeMap, and programs register their icons in their
> manifests, but I can't find a way to jump from one to the other and get an
> image representing an app.
>
> Thanks,
> James
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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