Get some system apps (PackageManager)

NJDude

Expert
Licensed User
Longtime User
I am using a code like THIS to get the User installed apps and some of the system apps, but, I'm having a little bit of difficulty getting some system apps, like Calculator, Calendar, etc, and some other apps that came pre-installed with the device, the line I have to get the info I need looks like this:
B4X:
...

If Bit.AND(Flags, 128) <> 0 OR Bit.AND(Flags, 1) = 0 Then

...
this works just fine, but I'm missing several system apps like I mentioned above, I've seen other apps able to display them, which tells me that I'm either missing something or using the wrong combination of flags, I've checked the Android documentation and it seems I've covered all bases but still, I'm not getting the results I need.

Any help will be appreciated.
 

mc73

Well-Known Member
Licensed User
Longtime User
I see now.
But then, the first flag which is about updates, won't fire only in the case of an update? What if you have the Camera app not updated yet? I really don't know, just thoughts, after a quick read of the documentation.
 
Upvote 0
Top