to top
Android APIs
Added in API level 1
package

android.content.pm

Contains classes for accessing information about an application package, including information about its activities, permissions, services, signatures, and providers.

Most of the information about an application package is defined by its manifest file. For more information, see the AndroidManifest.xml File documentation.

Classes

ActivityInfo Information you can retrieve about a particular application activity or receiver. 
ApplicationInfo Information you can retrieve about a particular application. 
ApplicationInfo.DisplayNameComparator  
ComponentInfo Base class containing information common to all application components (ActivityInfo, ServiceInfo). 
ConfigurationInfo Information you can retrieve about hardware configuration preferences declared by an application. 
FeatureInfo A single feature that can be requested by an application. 
InstrumentationInfo Information you can retrieve about a particular piece of test instrumentation. 
LabeledIntent A special subclass of Intent that can have a custom label/icon associated with it. 
PackageInfo Overall information about the contents of a package. 
PackageItemInfo Base class containing information common to all package items held by the package manager. 
PackageItemInfo.DisplayNameComparator  
PackageManager Class for retrieving various kinds of information related to the application packages that are currently installed on the device. 
PackageStats implementation of PackageStats associated with a application package. 
PathPermission Description of permissions needed to access a particular path in a ProviderInfo
PermissionGroupInfo Information you can retrieve about a particular security permission group known to the system. 
PermissionInfo Information you can retrieve about a particular security permission known to the system. 
ProviderInfo Holds information about a specific content provider
ResolveInfo Information that is returned from resolving an intent against an IntentFilter. 
ResolveInfo.DisplayNameComparator  
ServiceInfo Information you can retrieve about a particular application service. 
Signature Opaque, immutable representation of a signature associated with an application package. 

Exceptions

PackageManager.NameNotFoundException This exception is thrown when a given package, application, or component name cannot be found.