0

In my Google TV application, I am listing out other applications (their icon and package name) and when the user clicks on them, respective application will launch.

I noticed that, other applications icons are quite small compared to Google TV resolution.

Right now, both width and height of each icon is wrap_content.

If I make it hard coded, its looking blurry.

I am using the below code to get the icon:

Drawable icon = packageInfo.applicationInfo.loadIcon(mContext.getPackageManager());

Anybody please help me out to solve this issue.

Edit :

Answers provided here, here and here are for version 4.0 and above.

I am in search for a solution from version 3.2 and above.

TIA.

Community
  • 1
  • 1
Braj
  • 2,164
  • 2
  • 26
  • 44
  • How do you retrieve the application icons? Are you using ResolveInfo.LoadIcon? – Paul-Jan Apr 14 '14 at 07:17
  • I am using `Drawable icon = packageInfo.applicationInfo.loadIcon(mContext .getPackageManager());` – Braj Apr 14 '14 at 07:21
  • Check out the answers here: http://stackoverflow.com/questions/4600740/getting-app-icon-in-android . Ignore the accepted answer. – Paul-Jan Apr 14 '14 at 07:24
  • @Paul-Jan Those answers r for Android 4.0 and above... I need for 3.2 and above. – Braj Apr 28 '14 at 08:45

0 Answers0