Android Question All apps installed by user

apty

Active Member
Licensed User
Longtime User
I am using the code below to get a list of apps installed by user:
B4X:
 lv.Clear
    Dim pm As PackageManager
    Dim packages As List
    packages = pm.GetInstalledPackages
    For i = 0 To packages.Size - 1
    Dim p As String = packages.Get(i)
        Dim bdw As BitmapDrawable = pm.GetApplicationIcon(p)
        lv.AddTwoLinesAndBitmap(pm.GetApplicationLabel(p),packages.Get(i),bdw.Bitmap)
        Log(packages.Get(i))
    Next
Is it possible to load these apps in a panel with imageviews for icons instead of a listview? If so, how can i load at least 20 apps per panel, if i have, say 3 panels?
Your help will be greatly appreciated.
 
Top