Jinx
April 9, 2023, 11:03am
1
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
GetInstalledApps Returns a list of installed app package names
GetInstalledAppsInfo Returns the list of installed app package names and their installation times
GetLatestInstalledApp Returns the package name of the latest installed app
GetSystemApps Returns the list of system app package names
GetThirdPartyApps Returns the list of third-party app package names
Download Extension
Documentation generated with Getaix
3 Likes
Taifun
April 9, 2023, 11:41am
2
Thank you for your contribution
Please follow the naming conventions
If you are developing an extension, then please follow the naming conventions, which is UpperCamelCase for the package name as well as for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names, no underscores .
Example
[naming]
What does UpperCamelCase mean?
UpperCamelCase (part of CamelCase ) is a naming convention in which a name is formed of multiple words that are joined together as a single word with the first lā¦
get Packages-> GetPackages
Taifun
11124
April 14, 2023, 5:48am
4
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
You are welcome to write a tutorial in a separate topic.
1 Like
Jinx
April 14, 2023, 6:04am
6
@11124 You are always welcome to make a topic as said by @Kevinkun
TIMAI2
April 14, 2023, 4:15pm
7
@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
11124
April 16, 2023, 12:15am
8
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
1 Like
Jinx
January 14, 2024, 4:11pm
9
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
GetInstalledApps Returns a list of installed app package names
GetInstalledAppsInfo Returns the list of installed app package names and their installation times
GetLatestInstalledApp Returns the package name of the latest installed app
GetSystemApps Returns the list of system app package names
GetThirdPartyApps Returns the list of third-party app package names
Download Extension
Documentation generated with Getaix
TIMAI2
January 14, 2024, 4:20pm
10
Is this an update, or a duplicate post ?
TIMAI2
January 14, 2024, 4:41pm
12
You should edit your original post, and indicate an update.
Jinx
January 15, 2024, 6:10am
13
I wanted to remove the previous version, so I deleted it and replaced it with the new one.