1. Introduction

PkgUtils is basically related to Package and Package Manager, so it allows you to work with apps and packages

Latest Version: 5.1
Released:  December 21, 2019
Last Updated:  November 12, 2020

2. Blocks

Methods/Functions

image
image
image

3. Usage

A small documentation…

scrnli_12_21_2019_12-01-49 PM

Returns app name from package

scrnli_12_21_2019_12-02-30 PM

Returns app version code from package

scrnli_12_21_2019_12-03-11 PM

Returns app version name from package

scrnli_12_21_2019_12-04-51 PM

Checks whether specific permission is granted to particular app or not

scrnli_12_21_2019_12-06-56 PM

Checks whether system has a particular feature or not

scrnli_12_21_2019_12-07-43 PM

Returns first install time of a package or app

scrnli_12_21_2019_12-08-21 PM

Returns path to icon of an app

image

Returns a list of installed packages/apps.You can also filter list by system apps.

scrnli_12_21_2019_12-09-26 PM

Returns true if a particular package is installed else false

scrnli_12_21_2019_12-10-38 PM

Returns last update time of a package/app

scrnli_12_21_2019_12-10-54 PM

Returns target sdk version of an app

scrnli_12_21_2019_12-11-07 PM

Checks whether an app is system app or not

component_method (12)

Returns true if device is booted in safe mode else false

component_method (13)

Returns a list of system available features

image

Returns uid associated with particular package

image

Returns a list of currently running apps

Deprecated
image

Returns package name of the installer of particular package

image

Returns a list of permissions used by a package

image

Checks whether given package/app is running in foreground or not

image

Tries to uninstall given package

image

Tries to install app from apk file.It does not need full path.

Tries to get icon of given package and sets to given image’s picture

Launches app from package name

image

Creates a home screen shortcut of app

4. Downloads

5. Liked my work/ Support me

Thanks a lot!

Hope it helps!

Leave a Reply

Your email address will not be published. Required fields are marked *