App Inventor Extensions

Package Manager Extension

See the App Inventor Extensions document about how to use an App Inventor Extension.

For questions about this extension or bug reports please start a new thread in the App Inventor community. Thank you.

For feature requests please contact me by email. To be a sponsor of a new method already is possible starting from only 10 USD! With your contribution you will help the complete App Inventor community. Thank you.

Aug 24th, 2017: Version 1: initial version

Nov 22th, 2020: Version 2: bug fix: icon was not extracted for all packages; API 30 update: icons will now be stored in subdirectory /Packages of the the ASD - application specific directory, which is


Now no permissions are required anymore.


Extension to get information about installed apps and to be able to launch an installed app using a package name.
Required permission: none

Some Recommendations before using this Extension


Return the default directory (READ ONLY), which is


In the GotPackages event the icons of all the installed apps will be stored in that directory.

Return whether Warnings should be suppressed

Set whether Warnings should be suppressed.


Get Package informations.

Launch app.


Event indicating that package information have been received. The result is provided in JSON format.


{"package name":"",
"app name":"YouTube",
"version name":"12.32.59",
"version code":1232593400,
{"package name":"",
"app name":"Google","version name":"",
"version code":300745809,
{"package name":"org.telegram.messenger",
"app name":"Telegram",
"version name":"4.2.2",
"version code":10593,

Event indicating the progress of getting packages.

Example Use

It helps to be familiar with working with lists of lists and the lookup in pairs block...

Questions and Answers

Q1: Due to the Package visibility in Android 11, I can't get a list of all installed apps, not even directly querying with the package name..
A: See here: The limited package visibility reduces the number of apps that appear to be installed on a device, from your app's perspective. You might want to add the permission QUERY_ALL_PACKAGES into the manifest
Note: If you publish your app on Google Play, your app's use of this permission is subject to approval based on an upcoming policy. To add that permission into the manifest, you can use the extension tsf.queryallpackages.aix. Thank you anonwins.

For questions about App Inventor,
please ask in the App Inventor community.Thank you.

Terms and Conditions


Developing and maintaining snippets, tutorials and extensions for App Inventor takes a lot of time.
I hope it saved some of your time. If yes, then you might consider to donate a small amount!

Donation amount:

or donate some mBTC to Bitcoin Address:

Thank you! Taifun

Download TaifunPM extension (aix file)
Download Package Manager Test (aia file)

Back to top of page ...

Creative Commons License
This work by Pura Vida Apps is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License
with attribution (name=Pura Vida Apps and link to the source site) required.

Home | Snippets | Tutorials | Extensions | Links | Search | Privacy Policy | Contact