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)
    image
    Result: Permission list

  2. Uninstall Apps (string)
    image
    Note: Works in oldest android version

  3. Is System Apps (string)
    image
    Result: True / False

  4. Get System Apps
    image
    Result: List System Apps

  5. Get App Storage Size
    image
    Result: Size in byte

  6. Stop Application
    image
    image

  7. Get App Signature
    image
    Result: Signature In base64

  8. Package From Process Id (integer)
    image

  9. Is Permission Granted
    image
    Result: True / False

  10. Open Application
    image

  11. Get App Install Location
    image
    Result: Location Name

  12. Get App Process Id
    image
    Result: Process Id

  13. Get App info
    image
    Result: PackageName, VersionCode, VersionName, SourceDir, InstallDate, UpdateDate

  14. Is Package Installed
    image
    Result: True / False

  15. Get Installed Apps
    image
    Result: Package List

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

  17. Get CPU Usage For Application
    image
    Result: CpuUsage

  18. Get App Cache Size
    image
    Result: Cache Size

  19. Open App With Class
    image

  20. Open App Settings
    image

  21. Get App Icon
    image
    Result: Icon Path

  22. Get APK Size
    image
    Result: Apk File Size

  23. Get All Running Process
    image
    Result: Package List

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

  25. Get Class Activity
    image
    Result: List Class

  26. Is App Running
    image
    Result: True / False

  27. Has Permission
    image
    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