Code example for PackageManager

Methods: getApplicationIcongetApplicationInfogetPackagesForUid