PackageInfo class help developers to provide overall information about the contents of a package.
PackageInfo class help developers to provide overall information about the contents of a package. Information corresponds to all of the information collected from AndroidManifest.xml
.
PackageInfo getPackageInfo (String packageName,int flags)
Retrieve overall information about an application package that is installed on the system.
Usually this class is used by PackageManager .
List<PackageInfo> getPackagesHoldingPermissions (String[] permissions,
int flags)
Return a List of all installed packages that are currently holding any of the given permissions.
List<PackageInfo> getInstalledPackages (int flags)
Return a List of all packages that are installed on the device.