Code example for PackageManager

Methods: queryIntentActivities