Use loadIcon() on ActivityInfo (which actually comes from its base class
PackageItemInfo).

So ResolveInfo.activity.loadIcon().

On Fri, Oct 29, 2010 at 3:23 PM, TreKing <[email protected]> wrote:

> On Wed, Oct 27, 2010 at 8:45 PM, CrazyH <[email protected]> wrote:
>
>>
>> What's the proper way to do this?
>
>
> Maybe this:
> http://developer.android.com/reference/android/content/pm/PackageManager.html#getApplicationIcon%28java.lang.String%29
>
> No idea really, but I'm sure one of those package-related functions does
> something. There are plenty of apps doing this sort of thing already.
>
>
> -------------------------------------------------------------------------------------------------
>  TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>
>  --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



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