Sub Info 'User Apps only
Dim Obj1, Obj2, Obj3 As Reflector
Dim size, flags As Int
Dim name As String
Obj1.Target = Obj1.GetContext
Obj1.Target = Obj1.RunMethod("getPackageManager")
Obj1.Target = Obj1.RunMethod2("getInstalledPackages", 0, "java.lang.int")
size = Obj1.RunMethod("size")
For I = 0 To size -1
Obj2.Target = Obj1.RunMethod2("get", I, "java.lang.int")
name = Obj2.GetField("packageName")
Obj3.Target = Obj2.GetField("applicationInfo")
flags = Obj3.GetField("flags")
If Bit.AND(flags, 128) <> 0 OR Bit.AND(flags, 1) = 0 Then
ListView1.AddSingleLine(name) '<-- Your ListView here
End If
Next
End Sub