Since: API Level 1
package

android.content.pm

Classes | Description

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

more...

Classes

ActivityInfoInformation you can retrieve about a particular application activity or receiver. 
ApplicationInfoInformation you can retrieve about a particular application. 
ApplicationInfo.DisplayNameComparator 
ComponentInfoBase class containing information common to all application components (ActivityInfo, ServiceInfo). 
ConfigurationInfoInformation you can retrieve about hardware configuration preferences declared by an application. 
FeatureInfoA single feature that can be requested by an application. 
InstrumentationInfoInformation you can retrieve about a particular piece of test instrumentation. 
LabeledIntentA special subclass of Intent that can have a custom label/icon associated with it. 
PackageInfoOverall information about the contents of a package. 
PackageItemInfoBase class containing information common to all package items held by the package manager. 
PackageItemInfo.DisplayNameComparator 
PackageManagerClass for retrieving various kinds of information related to the application packages that are currently installed on the device. 
PackageStatsimplementation of PackageStats associated with a application package. 
PathPermissionDescription of permissions needed to access a particular path in a ProviderInfo
PermissionGroupInfoInformation you can retrieve about a particular security permission group known to the system. 
PermissionInfoInformation you can retrieve about a particular security permission known to the system. 
ProviderInfoHolds information about a specific content provider
ResolveInfoInformation that is returned from resolving an intent against an IntentFilter. 
ResolveInfo.DisplayNameComparator 
ServiceInfoInformation you can retrieve about a particular application service. 
SignatureOpaque, immutable representation of a signature associated with an application package. 

Exceptions

PackageManager.NameNotFoundExceptionThis exception is thrown when a given package, application, or component name can not be found.