PackageTool Extension [FREE]

Hello App Inentor Community,

I am excited to share with you all about a new extension I recently came across. This extension is called PackageTool, and I believe it can provide significant value to your App Inventor projects.

Description:
With this extension you can perform functions and information about the application

Block:


Example Usage:

List Usage
  1. Get Application Permission (string)


    Result: Permission list

  2. Uninstall Apps (string)


    Note: Works in oldest android version

  3. Is System Apps (string)


    Result: True / False

  4. Get System Apps


    Result: List System Apps

  5. Get App Storage Size


    Result: Size in byte

  6. Stop Application


    image

  7. Get App Signature


    Result: Signature In base64

  8. Package From Process Id (integer)

  9. Is Permission Granted


    Result: True / False

  10. Open Application
    image

  11. Get App Install Location


    Result: Location Name

  12. Get App Process Id
    image
    Result: Process Id

  13. Get App info


    Result: PackageName, VersionCode, VersionName, SourceDir, InstallDate, UpdateDate

  14. Is Package Installed
    image
    Result: True / False

  15. Get Installed Apps


    Result: Package List

  16. Get External Path For Package
    image
    Result: External Path

  17. Get CPU Usage For Application


    Result: CpuUsage

  18. Get App Cache Size
    image
    Result: Cache Size

  19. Open App With Class

  20. Open App Settings
    image

  21. Get App Icon


    Result: Icon Path

  22. Get APK Size
    image
    Result: Apk File Size

  23. Get All Running Process


    Result: Package List

  24. Is Installed From Playstore
    image
    Result: True / False

  25. Get Class Activity


    Result: List Class

  26. Is App Running


    Result: True / False

  27. Has Permission


    Result: True / False

Donate Me
PayPal

Download Link:
com.rasitech.packagetool.aix (18.5 KB)

Important Notes:
Some blocks may only support Android versions < 10

I hope this extension can help enrich your projects. Please provide feedback and your impressions after trying out this extension. Thank you for your attention!

3 Likes

What's the different with this two functions?

which ones?

1 Like

Why?

HasPermission = Check if permission exist

I'm still learning to code

2 Likes

Здравствуйте! Можете показать на примере как достать из установленного приложения иконку

You will need the permission QUERY_ALL_PACKAGES to do this

If you publish your app on Google Play, your app's use of this permission is subject to approval based on this policy.

See also my packagemanager extension here App Inventor Extensions: Package Manager | Pura Vida Apps

Taifun