[Paid] [Extension] Get Apps

Apps | Paid

Extension to get app information without QUERY_ALL_PACKAGES permission. Made by Aditya Nanda.

šŸ“¦ 5.92 KB
šŸ“ io.AdityaNanda.apps.Apps

Blocks

GetGoogleApps

Returns the list of Google app package names

returnType : list

GetInstalledApps

Returns a list of installed app package names

returnType : list

GetInstalledAppsInfo

Returns the list of installed app package names and their installation times

returnType : list

GetLatestInstalledApp

Returns the package name of the latest installed app

returnType : text

GetSystemApps

Returns the list of system app package names

returnType : list

GetThirdPartyApps

Returns the list of third-party app package names

returnType : list

:point_down:t4: Download Extension

Documentation generated with Getaix

3 Likes

Thank you for your contribution
Please follow the naming conventions

get Packages-> GetPackages

Taifun

Thanks @Taifun Fixed

everything is much simpler in fact. to perform the same function, it is enough to use a terminal query with the command "ps", and put the result in the list. simply put, the same result can be obtained with the help of several blocks and the terminal extension. and without requesting additional permissions. and here is a whole paid extension :slight_smile:

You are welcome to write a tutorial in a separate topic.

1 Like

@11124 You are always welcome to make a topic as said by @Kevinkun :slightly_smiling_face:

@11124

I need to correct you.

The ps command only returns running processes, it does not return installed apps.

To return all installed packages run:

cmd package list packages

To return user installed (third party) packages run:

cmd package list packages -3

Getting the actual app names requires root access, from what I can find. (or use adb)

Finally,

ls ${PATH//:/ }

will return all your linux programs

yes, I made a mistake with the team name. instead of "ps", you should specify "pm" text: "pm list packages". no ROOT rights are required. as a result, we instantly get a list of installed applications and then we can operate with it. in total, this requires only a short extension for the terminal command and a couple of blocks in the editor :slight_smile:

1 Like

Apps | Paid

Extension to get app information without QUERY_ALL_PACKAGES permission. Made by Aditya Nanda.

šŸ“¦ 5.92 KB
šŸ“ io.AdityaNanda.apps.Apps

Blocks

GetGoogleApps

Returns the list of Google app package names

returnType : list

GetInstalledApps

Returns a list of installed app package names

returnType : list

GetInstalledAppsInfo

Returns the list of installed app package names and their installation times

returnType : list

GetLatestInstalledApp

Returns the package name of the latest installed app

returnType : text

GetSystemApps

Returns the list of system app package names

returnType : list

GetThirdPartyApps

Returns the list of third-party app package names

returnType : list

:point_down:t4: Download Extension

Documentation generated with Getaix

Is this an update, or a duplicate post ?

Update @TIMAI2

You should edit your original post, and indicate an update.

I wanted to remove the previous version, so I deleted it and replaced it with the new one.