需求
接口
Context ?|? Android Developers
- Public methods
- public abstract PackageManager getPackageManager ()
PackageManager ?|? Android Developers
- Public methods
- public ApplicationInfo getApplicationInfo (String packageName, PackageManager.ApplicationInfoFlags flags)
- public abstract ApplicationInfo getApplicationInfo (String packageName, int flags)
- public abstract List<ApplicationInfo> getInstalledApplications (int flags)
- public List<ApplicationInfo> getInstalledApplications (PackageManager.ApplicationInfoFlags flags)
- public abstract List<PackageInfo> getInstalledPackages (int flags)
- public List<PackageInfo> getInstalledPackages (PackageManager.PackageInfoFlags flags)
- public abstract PackageInfo getPackageInfo (String packageName, int flags)
- public PackageInfo getPackageInfo (String packageName, PackageManager.PackageInfoFlags flags)
- public PackageInfo getPackageInfo (VersionedPackage versionedPackage, PackageManager.PackageInfoFlags flags)
- public abstract PackageInfo getPackageInfo (VersionedPackage versionedPackage, int flags)
- public PackageInfo getPackageArchiveInfo (String archiveFilePath, int flags)
- public PackageInfo getPackageArchiveInfo (String archiveFilePath, PackageManager.PackageInfoFlags flags)
- public abstract ActivityInfo getActivityInfo (ComponentName component, int flags)
- public ActivityInfo getActivityInfo (ComponentName component, PackageManager.ComponentInfoFlags flags)
- public abstract InstrumentationInfo getInstrumentationInfo (ComponentName className, int flags)
- public ServiceInfo getServiceInfo (ComponentName component, PackageManager.ComponentInfoFlags flags)
- public abstract ServiceInfo getServiceInfo (ComponentName component, int flags)
- public abstract ActivityInfo getReceiverInfo (ComponentName component, int flags)
- public ActivityInfo getReceiverInfo (ComponentName component, PackageManager.ComponentInfoFlags flags)
- public abstract ProviderInfo getProviderInfo (ComponentName component, int flags)
- public ProviderInfo getProviderInfo (ComponentName component, PackageManager.ComponentInfoFlags flags)
- public List<ResolveInfo> queryIntentActivities (Intent intent,?
- public abstract List<ResolveInfo> queryIntentActivities (Intent intent, int flags)
权限
示例
参考资料
|