Code example for PackageManager

Methods: checkPermission