A anaylor01 Well-Known Member Licensed User Longtime User Jul 19, 2011 #1 I want to create a listview or scrollview with installed packages. I want to list the label with the icon. Any ideas? I can get the label to list but having a problem getting the icons to work.
I want to create a listview or scrollview with installed packages. I want to list the label with the icon. Any ideas? I can get the label to list but having a problem getting the icons to work.
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2011 #2 The following code converts the icon to a bitmap: B4X: Dim pm As PackageManager Dim bd As BitmapDrawable bd = pm.GetApplicationIcon("...") 'bd.Bitmap returns the bitmap Upvote 0
The following code converts the icon to a bitmap: B4X: Dim pm As PackageManager Dim bd As BitmapDrawable bd = pm.GetApplicationIcon("...") 'bd.Bitmap returns the bitmap