Application Info extension : Get category & information of any app

Application Info extension

Blocks

component_method (1)

GetSourceDirFromPackageName: This block will return the Source directory path of given package name

component_method (2)

GetNativeLibraryFromPackageName: This block will return the Native library directory path of given package name

component_method (3)

GetDataDirFromPackageName: This block will return the Data directory path of given package name

component_method (4)

GetDeviceProtectedDataDirFromPackageName: This block will return the Device Protected Data directory of given package name

component_method (5)

GetActivitiesFromPackageName: This block will return the app Activities of given package name

component_method (6)

GetSharedLibraryFilesFromPackageName: This block will return the Shared Library directory of given package name

component_method (14)

GetInstalledApplications: This block will return the all installed app

component_method (16)

GetClassNameFromPackageName: This block will return the Main Activity of given package

component_method (17)

GetVersionNameFromPackageName: This block will return the Version name of given package

component_method (18)

RetrievePermissionFromPackageName: This block will return the All Permission of given package

component_method (15)

GetCategoryFromPackageName: This block will return the Category in number of given package

How can i know the category of app?

Read here CATEGORY of android apps

For example if CATEGORY value is 0 then app is CATEGORY_GAME

component_method (19)

GetCategoryFromPackageName: This block will return the all apps of given Category and you can give category in number or use green block

component_set_get (12)

CATEGORY_SOCIAL: Value is 4

component_set_get (11)

CATEGORY_NEWS: Value is 5

component_set_get (10)

CATEGORY_UNDEFINED: Value is -1

component_set_get (15)

CATEGORY_ACCESSIBILITY: Value is 8

component_set_get (14)

CATEGORY_IMAGE: Value is 3

component_set_get (16)

CATEGORY_GAME: Value is 0

component_set_get (7)

CATEGORY_MAPS: Value is 6

component_set_get (8)

CATEGORY_AUDIO: Value is 1

component_set_get (9)

CATEGORY_VIDEO: Value is 2

component_event (3)

OnError: This will trigger if any error occur

component_event (4)

OnApplicationInfo: This block will give AppCategory of given package name

Download

com.shreya.ApplicationInfo.aix (20.4 KB)

17 Likes

Nice ! Keep it up

1 Like

Thank you very much , What permissions does it ask ?

AmAzinG!!

You are spreading your extension like Fire

:fire:

1 Like

@UnknownMan541 @Aditya_Nanda @Star_DZ
thank you guys

No need to ask for any permission