Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Nested Classes](https://developer.android.com/reference/android/content/pm/ApplicationInfo#nestedclasses) \| [Constants](https://developer.android.com/reference/android/content/pm/ApplicationInfo#constants) \| [Inherited Constants](https://developer.android.com/reference/android/content/pm/ApplicationInfo#inhconstants) \| [Fields](https://developer.android.com/reference/android/content/pm/ApplicationInfo#lfields) \| [Inherited Fields](https://developer.android.com/reference/android/content/pm/ApplicationInfo#inhfields) \| [Ctors](https://developer.android.com/reference/android/content/pm/ApplicationInfo#pubctors) \| [Methods](https://developer.android.com/reference/android/content/pm/ApplicationInfo#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/content/pm/ApplicationInfo#inhmethods)

# ApplicationInfo

*** ** * ** ***


`
public


class
ApplicationInfo
`


`


`

`

extends https://developer.android.com/reference/android/content/pm/PackageItemInfo


`

`


implements

https://developer.android.com/reference/android/os/Parcelable


`

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) |||
| ↳ | [android.content.pm.PackageItemInfo](https://developer.android.com/reference/android/content/pm/PackageItemInfo) ||
|   | ↳ | android.content.pm.ApplicationInfo |

<br />

*** ** * ** ***

Information you can retrieve about a particular application. This
corresponds to information collected from the AndroidManifest.xml's
\<application\> tag.

## Summary

| ### Nested classes ||
|---|---|
| ` class` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo.DisplayNameComparator` |

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_ACCESSIBILITY` Category for apps which are primarily accessibility apps, such as screen-readers. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_AUDIO` Category for apps which primarily work with audio or music, such as music players. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_GAME` Category for apps which are primarily games. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_IMAGE` Category for apps which primarily work with images or photos, such as camera or gallery apps. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_MAPS` Category for apps which are primarily maps apps, such as navigation apps. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_NEWS` Category for apps which are primarily news apps, such as newspapers, magazines, or sports apps. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_PRODUCTIVITY` Category for apps which are primarily productivity apps, such as cloud storage or workplace apps. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_SOCIAL` Category for apps which are primarily social apps, such as messaging, communication, email, or social network apps. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_UNDEFINED` Value when category is undefined. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_VIDEO` Category for apps which primarily work with video or movies, such as streaming video apps. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_ALLOW_BACKUP` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to `false` if the application does not wish to permit any OS-driven backups of its data; `true` otherwise. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_ALLOW_CLEAR_USER_DATA` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: default value for the corresponding ActivityInfo flag. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_ALLOW_TASK_REPARENTING` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: default value for the corresponding ActivityInfo flag. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_DEBUGGABLE` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to true if this application would like to allow debugging of its code, even when installed on a non-development system. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_EXTERNAL_STORAGE` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: Set to true if the application is currently installed on external/removable/unprotected storage. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_EXTRACT_NATIVE_LIBS` When set installer extracts native libs from .apk files. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_FACTORY_TEST` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to true if this application holds the `https://developer.android.com/reference/android/Manifest.permission#FACTORY_TEST` permission and the device is running in factory test mode. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_FULL_BACKUP_ONLY` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: `true` if the application asks that only full-data streaming backups of its data be performed even though it defines a `https://developer.android.com/reference/android/app/backup/BackupAgent`, which normally indicates that the app will manage its backed-up data via incremental key/value updates. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_HARDWARE_ACCELERATED` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: `true` when the application's rendering should be hardware accelerated. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_HAS_CODE` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to true if this application has code associated with it. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_INSTALLED` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true if the application is currently installed for the calling user. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_IS_DATA_ONLY` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true if the application only has its data installed; the application package itself does not currently exist on the device. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_IS_GAME` *This constant was deprecated in API level 26. use `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_GAME` instead.* |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_KILL_AFTER_RESTORE` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to `false` if the application must be kept in memory following a full-system restore operation; `true` otherwise. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_LARGE_HEAP` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application has requested a large heap for its processes. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_MULTIARCH` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true if code from this application will need to be loaded into other applications' processes. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_PERSISTENT` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to true if this application is persistent. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_RESIZEABLE_FOR_SCREENS` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application knows how to adjust its UI for different screen sizes. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_RESTORE_ANY_VERSION` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: Set to `true` if the application's backup agent claims to be able to handle restore data even "from the future," i.e. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_STOPPED` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true if this application's package is in the stopped state. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUPPORTS_LARGE_SCREENS` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application's window can be increased in size for larger screens. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUPPORTS_NORMAL_SCREENS` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application's window can be displayed on normal screens. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUPPORTS_RTL` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application is willing to support RTL (right to left). |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUPPORTS_SCREEN_DENSITIES` *This constant was deprecated in API level 30. Set by default when targeting API 4 or higher and apps should not set this to false.* |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUPPORTS_SMALL_SCREENS` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application's window can be reduced in size for smaller screens. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUPPORTS_XLARGE_SCREENS` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application's window can be increased in size for extra large screens. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUSPENDED` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true if this application's package is in the suspended state. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SYSTEM` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: if set, this application is installed in the device's system image. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_TEST_ONLY` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: this is set if the application has specified `https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_testOnly` to be true. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_UPDATED_SYSTEM_APP` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: this is set if this application has been installed as an update to a built-in system application. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_USES_CLEARTEXT_TRAFFIC` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: `true` if the application may use cleartext network traffic (e.g., HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, SMTP without STARTTLS or TLS). |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_VM_SAFE_MODE` Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to true if this application would like to request the VM to operate under the safe mode. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#GWP_ASAN_ALWAYS` Always enable GWP-ASan in this application or process. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#GWP_ASAN_DEFAULT` Default (unspecified) setting of GWP-ASan. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#GWP_ASAN_NEVER` Never enable GWP-ASan in this application or process. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#MEMTAG_ASYNC` Enable Memtag in Async mode in this application or process. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#MEMTAG_DEFAULT` Default (unspecified) setting of Memtag. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#MEMTAG_OFF` Do not enable Memtag in this application or process. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#MEMTAG_SYNC` Enable Memtag in Sync mode in this application or process. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#RAW_EXTERNAL_STORAGE_ACCESS_DEFAULT` Use default value for `https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_requestRawExternalStorageAccess`. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#RAW_EXTERNAL_STORAGE_ACCESS_NOT_REQUESTED` Raw external storage was not requested by this app. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#RAW_EXTERNAL_STORAGE_ACCESS_REQUESTED` Raw external storage was requested by this app. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#ZEROINIT_DEFAULT` Default (unspecified) setting of nativeHeapZeroInitialized. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#ZEROINIT_DISABLED` Disable zero-initialization of the native heap in this application or process. |
| `int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#ZEROINIT_ENABLED` Enable zero-initialization of the native heap in this application or process. |

### Inherited constants

From interface `https://developer.android.com/reference/android/os/Parcelable` `int` `https://developer.android.com/reference/android/os/Parcelable#CONTENTS_FILE_DESCRIPTOR`

Descriptor bit used with `https://developer.android.com/reference/android/os/Parcelable#describeContents()`: indicates that
the Parcelable object's flattened representation includes a file descriptor.


`int` `https://developer.android.com/reference/android/os/Parcelable#PARCELABLE_WRITE_RETURN_VALUE`

Flag for use with `https://developer.android.com/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int)`: the object being written
is a return value, that is the result of a function such as
"`Parcelable someFunction()`",
"`void someFunction(out Parcelable)`", or
"`void someFunction(inout Parcelable)`".


| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/android/os/Parcelable.Creator<https://developer.android.com/reference/android/content/pm/ApplicationInfo>` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CREATOR` |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#appComponentFactory` The factory of this package, as specified by the \<manifest\> tag's `https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_appComponentFactory` attribute. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#backupAgentName` Class implementing the Application's backup functionality. |
| ` public int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category` The category of this app. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#className` Class implementing the Application object. |
| ` public int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#compatibleWidthLimitDp` The maximum smallest screen width the application is designed for. |
| ` public int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#compileSdkVersion` The user-visible SDK version (ex. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#compileSdkVersionCodename` The development codename (ex. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#dataDir` Full path to the default directory assigned to the package for its persistent data. |
| ` public int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#descriptionRes` A style resource identifier (in the package's resources) of the description of an application. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#deviceProtectedDataDir` Full path to the device-protected directory assigned to the package for its persistent data. |
| ` public boolean` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#enabled` When false, indicates that all components within this application are considered disabled, regardless of their individually set enabled status. |
| ` public int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags` Flags associated with the application. |
| ` public boolean` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#isAppLockEnabled` App lock enablement state of an application. |
| ` public boolean` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#isAppLockSupported` If `true` this app supports App Lock. |
| ` public int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#largestWidthLimitDp` The maximum smallest screen width the application will work on. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#manageSpaceActivityName` Class implementing the Application's manage space functionality. |
| ` public int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#minSdkVersion` The minimum SDK version this application can run on. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#nativeLibraryDir` Full path to the directory where native JNI libraries are stored. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#permission` Optional name of a permission required to be able to access this application's components. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#processName` The name of the process this application should run in. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#publicSourceDir` Full path to the publicly available parts of `https://developer.android.com/reference/android/content/pm/ApplicationInfo#sourceDir`, including resources and manifest. |
| ` public int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#requiresSmallestWidthDp` The required smallest screen width the application can run on. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#sharedLibraryFiles` Paths to all shared libraries this application is linked against. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#sourceDir` Full path to the base APK for this application. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#splitNames` The names of all installed split APKs, ordered lexicographically. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#splitPublicSourceDirs` Full path to the publicly available parts of `https://developer.android.com/reference/android/content/pm/ApplicationInfo#splitSourceDirs`, including resources and manifest. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#splitSourceDirs` Full paths to split APKs, indexed by the same order as `https://developer.android.com/reference/android/content/pm/ApplicationInfo#splitNames`. |
| ` public https://developer.android.com/reference/java/util/UUID` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#storageUuid` UUID of the storage volume on which this application is being hosted. |
| ` public int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#targetSdkVersion` The minimum SDK version this application targets. |
| ` public https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#taskAffinity` Default task affinity of all activities in this application. |
| ` public int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#theme` A style resource identifier (in the package's resources) of the default visual theme of the application. |
| ` public int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#uiOptions` The default extra UI options for activities in this application. |
| ` public int` | `https://developer.android.com/reference/android/content/pm/ApplicationInfo#uid` The kernel user-ID that has been assigned to this application; currently this is not a unique ID (multiple applications can have the same uid). |

### Inherited fields

From class `https://developer.android.com/reference/android/content/pm/PackageItemInfo` `
public


int` `https://developer.android.com/reference/android/content/pm/PackageItemInfo#banner`

A drawable resource identifier (in the package's resources) of this
component's banner.


`
public


int` `https://developer.android.com/reference/android/content/pm/PackageItemInfo#icon`

A drawable resource identifier (in the package's resources) of this
component's icon.


`
public


boolean` `https://developer.android.com/reference/android/content/pm/PackageItemInfo#isArchived`

Whether the package is currently in an archived state.


`
public


int` `https://developer.android.com/reference/android/content/pm/PackageItemInfo#labelRes`

A string resource identifier (in the package's resources) of this
component's label.


`
public


int` `https://developer.android.com/reference/android/content/pm/PackageItemInfo#logo`

A drawable resource identifier (in the package's resources) of this
component's logo.


`
public


https://developer.android.com/reference/android/os/Bundle` `https://developer.android.com/reference/android/content/pm/PackageItemInfo#metaData`

Additional meta-data associated with this component.


`
public


https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/content/pm/PackageItemInfo#name`

Public name of this item.


`
public


https://developer.android.com/reference/java/lang/CharSequence` `https://developer.android.com/reference/android/content/pm/PackageItemInfo#nonLocalizedLabel`

The string provided in the AndroidManifest file, if any.


`
public


https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/content/pm/PackageItemInfo#packageName`

Name of the package that this item is in.


| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#ApplicationInfo()() ` |
| ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#ApplicationInfo(android.content.pm.ApplicationInfo)(https://developer.android.com/reference/android/content/pm/ApplicationInfo orig) ` |

| ### Public methods ||
|---|---|
| ` boolean` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#areAttributionsUserVisible()() ` Returns whether attributions provided by the application are meant to be user-visible. |
| ` int` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#describeContents()() ` Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. |
| ` void` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#dump(android.util.Printer,%20java.lang.String)(https://developer.android.com/reference/android/util/Printer pw, https://developer.android.com/reference/java/lang/String prefix) ` |
| ` static https://developer.android.com/reference/java/lang/CharSequence` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#getCategoryTitle(android.content.Context,%20int)(https://developer.android.com/reference/android/content/Context context, int category) ` Return a concise, localized title for the given `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category` value, or `null` for unknown values such as `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_UNDEFINED`. |
| ` int` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#getGwpAsanMode()() ` |
| ` https://developer.android.com/reference/java/util/Set<https://developer.android.com/reference/java/lang/String>` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#getKnownActivityEmbeddingCerts()() ` Gets the trusted host certificate digests of apps that are allowed to embed activities of this application. |
| ` int` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#getMemtagMode()() ` Returns whether the application has requested Memtag to be enabled, disabled, or left unspecified. |
| ` int` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#getNativeHeapZeroInitialized()() ` Returns whether the application has requested automatic zero-initialization of native heap memory allocations to be enabled or disabled. |
| ` int` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#getRequestRawExternalStorageAccess()() ` |
| ` boolean` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#isProfileable()() ` Returns whether this application can be profiled, either by the shell user or the system. |
| ` boolean` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#isProfileableByShell()() ` Returns whether or not this application can be profiled by the shell user, even when running on a device that is running in user mode. |
| ` boolean` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#isResourceOverlay()() ` Returns true if the package has declared in its manifest that it is a runtime resource overlay. |
| ` boolean` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#isVirtualPreload()() ` Returns whether or not this application was installed as a virtual preload. |
| ` https://developer.android.com/reference/java/lang/CharSequence` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#loadDescription(android.content.pm.PackageManager)(https://developer.android.com/reference/android/content/pm/PackageManager pm) ` Retrieve the textual description of the application. |
| ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#toString()() ` Returns a string representation of the object. |
| ` void` | ` https://developer.android.com/reference/android/content/pm/ApplicationInfo#writeToParcel(android.os.Parcel,%20int)(https://developer.android.com/reference/android/os/Parcel dest, int parcelableFlags) ` |

### Inherited methods

From class `

https://developer.android.com/reference/android/content/pm/PackageItemInfo

` `


void` `
https://developer.android.com/reference/android/content/pm/PackageItemInfo#dumpBack(android.util.Printer,%20java.lang.String)(https://developer.android.com/reference/android/util/Printer pw, https://developer.android.com/reference/java/lang/String prefix)
` `


void` `
https://developer.android.com/reference/android/content/pm/PackageItemInfo#dumpFront(android.util.Printer,%20java.lang.String)(https://developer.android.com/reference/android/util/Printer pw, https://developer.android.com/reference/java/lang/String prefix)
` `


https://developer.android.com/reference/android/graphics/drawable/Drawable` `
https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadBanner(android.content.pm.PackageManager)(https://developer.android.com/reference/android/content/pm/PackageManager pm)
`

Retrieve the current graphical banner associated with this item.


`


https://developer.android.com/reference/android/graphics/drawable/Drawable` `
https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadIcon(android.content.pm.PackageManager)(https://developer.android.com/reference/android/content/pm/PackageManager pm)
`

Retrieve the current graphical icon associated with this item.


`


https://developer.android.com/reference/java/lang/CharSequence` `
https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadLabel(android.content.pm.PackageManager)(https://developer.android.com/reference/android/content/pm/PackageManager pm)
`

Retrieve the current textual label associated with this item.


`


https://developer.android.com/reference/android/graphics/drawable/Drawable` `
https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadLogo(android.content.pm.PackageManager)(https://developer.android.com/reference/android/content/pm/PackageManager pm)
`

Retrieve the current graphical logo associated with this item.


`


https://developer.android.com/reference/android/graphics/drawable/Drawable` `
https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadUnbadgedIcon(android.content.pm.PackageManager)(https://developer.android.com/reference/android/content/pm/PackageManager pm)
`

Retrieve the current graphical icon associated with this item without
the addition of a work badge if applicable.


`


https://developer.android.com/reference/android/content/res/XmlResourceParser` `
https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadXmlMetaData(android.content.pm.PackageManager,%20java.lang.String)(https://developer.android.com/reference/android/content/pm/PackageManager pm, https://developer.android.com/reference/java/lang/String name)
`

Load an XML resource attached to the meta-data of this item.


`


void` `
https://developer.android.com/reference/android/content/pm/PackageItemInfo#writeToParcel(android.os.Parcel,%20int)(https://developer.android.com/reference/android/os/Parcel dest, int parcelableFlags)
` From class `

https://developer.android.com/reference/java/lang/Object

` `


https://developer.android.com/reference/java/lang/Object` `
https://developer.android.com/reference/java/lang/Object#clone()()
`

Creates and returns a copy of this object.


`


boolean` `
https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj)
`

Indicates whether some other object is "equal to" this one.


`


void` `
https://developer.android.com/reference/java/lang/Object#finalize()()
`

Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.


`


final

https://developer.android.com/reference/java/lang/Class<?>` `
https://developer.android.com/reference/java/lang/Object#getClass()()
`

Returns the runtime class of this `Object`.


`


int` `
https://developer.android.com/reference/java/lang/Object#hashCode()()
`

Returns a hash code value for the object.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#notify()()
`

Wakes up a single thread that is waiting on this object's
monitor.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#notifyAll()()
`

Wakes up all threads that are waiting on this object's monitor.


`


https://developer.android.com/reference/java/lang/String` `
https://developer.android.com/reference/java/lang/Object#toString()()
`

Returns a string representation of the object.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos)
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*, or until a
certain amount of real time has elapsed.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis)
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*, or until a
certain amount of real time has elapsed.


`


final

void` `
https://developer.android.com/reference/java/lang/Object#wait()()
`

Causes the current thread to wait until it is awakened, typically
by being *notified* or *interrupted*.


From interface `

https://developer.android.com/reference/android/os/Parcelable

` `
abstract


int` `
https://developer.android.com/reference/android/os/Parcelable#describeContents()()
`

Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation.


`
abstract


void` `
https://developer.android.com/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int)(https://developer.android.com/reference/android/os/Parcel dest, int flags)
`

Flatten this object in to a Parcel.


## Constants

### CATEGORY_ACCESSIBILITY

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CATEGORY_ACCESSIBILITY
```

Category for apps which are primarily accessibility apps, such as screen-readers.

<br />

**See also:**

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category`

Constant Value:

8
(0x00000008)


### CATEGORY_AUDIO

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CATEGORY_AUDIO
```

Category for apps which primarily work with audio or music, such as music
players.

<br />

**See also:**

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category`

Constant Value:

1
(0x00000001)


### CATEGORY_GAME

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CATEGORY_GAME
```

Category for apps which are primarily games.

<br />

**See also:**

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category`

Constant Value:

0
(0x00000000)


### CATEGORY_IMAGE

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CATEGORY_IMAGE
```

Category for apps which primarily work with images or photos, such as
camera or gallery apps.

<br />

**See also:**

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category`

Constant Value:

3
(0x00000003)


### CATEGORY_MAPS

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CATEGORY_MAPS
```

Category for apps which are primarily maps apps, such as navigation apps.

<br />

**See also:**

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category`

Constant Value:

6
(0x00000006)


### CATEGORY_NEWS

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CATEGORY_NEWS
```

Category for apps which are primarily news apps, such as newspapers,
magazines, or sports apps.

<br />

**See also:**

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category`

Constant Value:

5
(0x00000005)


### CATEGORY_PRODUCTIVITY

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CATEGORY_PRODUCTIVITY
```

Category for apps which are primarily productivity apps, such as cloud
storage or workplace apps.

<br />

**See also:**

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category`

Constant Value:

7
(0x00000007)


### CATEGORY_SOCIAL

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CATEGORY_SOCIAL
```

Category for apps which are primarily social apps, such as messaging,
communication, email, or social network apps.

<br />

**See also:**

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category`

Constant Value:

4
(0x00000004)


### CATEGORY_UNDEFINED

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CATEGORY_UNDEFINED
```

Value when category is undefined.

<br />

**See also:**

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category`

Constant Value:

-1
(0xffffffff)


### CATEGORY_VIDEO

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CATEGORY_VIDEO
```

Category for apps which primarily work with video or movies, such as
streaming video apps.

<br />

**See also:**

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category`

Constant Value:

2
(0x00000002)


### FLAG_ALLOW_BACKUP

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_ALLOW_BACKUP
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to `false` if the application does not wish
to permit any OS-driven backups of its data; `true` otherwise.

Comes from the
`https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_allowBackup`
attribute of the \<application\> tag.

<br />

Constant Value:

32768
(0x00008000)


### FLAG_ALLOW_CLEAR_USER_DATA

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_ALLOW_CLEAR_USER_DATA
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: default value for the corresponding ActivityInfo flag.
Comes from `https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_allowClearUserData` of the \<application\> tag.

<br />

Constant Value:

64
(0x00000040)


### FLAG_ALLOW_TASK_REPARENTING

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_ALLOW_TASK_REPARENTING
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: default value for the corresponding ActivityInfo flag.
Comes from `https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_allowTaskReparenting` of the \<application\> tag.

<br />

Constant Value:

32
(0x00000020)


### FLAG_DEBUGGABLE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_DEBUGGABLE
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to true if this application would like to
allow debugging of its
code, even when installed on a non-development system. Comes
from `https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_debuggable` of the \<application\> tag.

<br />

Constant Value:

2
(0x00000002)


### FLAG_EXTERNAL_STORAGE

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_EXTERNAL_STORAGE
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: Set to true if the application is
currently installed on external/removable/unprotected storage. Such
applications may not be available if their storage is not currently
mounted. When the storage it is on is not available, it will look like
the application has been uninstalled (its .apk is no longer available)
but its persistent data is not removed.

<br />

Constant Value:

262144
(0x00040000)


### FLAG_EXTRACT_NATIVE_LIBS

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_EXTRACT_NATIVE_LIBS
```

When set installer extracts native libs from .apk files.

<br />

Constant Value:

268435456
(0x10000000)


### FLAG_FACTORY_TEST

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_FACTORY_TEST
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to true if this application holds the
`https://developer.android.com/reference/android/Manifest.permission#FACTORY_TEST` permission and the
device is running in factory test mode.

<br />

Constant Value:

16
(0x00000010)


### FLAG_FULL_BACKUP_ONLY

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_FULL_BACKUP_ONLY
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: `true` if the application asks that only
full-data streaming backups of its data be performed even though it defines
a `https://developer.android.com/reference/android/app/backup/BackupAgent`, which normally
indicates that the app will manage its backed-up data via incremental
key/value updates.

<br />

Constant Value:

67108864
(0x04000000)


### FLAG_HARDWARE_ACCELERATED

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_HARDWARE_ACCELERATED
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: `true` when the application's rendering
should be hardware accelerated.

<br />

Constant Value:

536870912
(0x20000000)


### FLAG_HAS_CODE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_HAS_CODE
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to true if this application has code
associated with it. Comes
from `https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_hasCode` of the \<application\> tag.

<br />

Constant Value:

4
(0x00000004)


### FLAG_INSTALLED

Added in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_INSTALLED
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true if the application is currently
installed for the calling user.

<br />

Constant Value:

8388608
(0x00800000)


### FLAG_IS_DATA_ONLY

Added in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_IS_DATA_ONLY
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true if the application only has its
data installed; the application package itself does not currently
exist on the device.

<br />

Constant Value:

16777216
(0x01000000)


### FLAG_IS_GAME

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level
26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_IS_GAME
```


**This constant was deprecated
in API level 26.**   

use `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_GAME` instead.

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true if the application was declared to be a
game, or false if it is a non-game application.

<br />

Constant Value:

33554432
(0x02000000)


### FLAG_KILL_AFTER_RESTORE

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_KILL_AFTER_RESTORE
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to `false` if the application must be kept
in memory following a full-system restore operation; `true` otherwise.
Ordinarily, during a full system restore operation each application is shut down
following execution of its agent's onRestore() method. Setting this attribute to
`false` prevents this. Most applications will not need to set this attribute.

If
`https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_allowBackup`
is set to `false` or no
`https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_backupAgent`
is specified, this flag will be ignored.

Comes from the
`https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_killAfterRestore`
attribute of the \<application\> tag.

<br />

Constant Value:

65536
(0x00010000)


### FLAG_LARGE_HEAP

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_LARGE_HEAP
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application has requested a
large heap for its processes. Corresponds to
`https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_largeHeap`.

<br />

Constant Value:

1048576
(0x00100000)


### FLAG_MULTIARCH

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_MULTIARCH
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true if code from this application will need to be
loaded into other applications' processes. On devices that support multiple
instruction sets, this implies the code might be loaded into a process that's
using any of the devices supported instruction sets.

The system might treat such applications specially, for eg., by
extracting the application's native libraries for all supported instruction
sets or by compiling the application's dex code for all supported instruction
sets.

<br />

Constant Value:

-2147483648
(0x80000000)


### FLAG_PERSISTENT

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_PERSISTENT
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to true if this application is persistent.
Comes from `https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_persistent` of the \<application\> tag.

<br />

Constant Value:

8
(0x00000008)


### FLAG_RESIZEABLE_FOR_SCREENS

Added in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_RESIZEABLE_FOR_SCREENS
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application knows how to adjust
its UI for different screen sizes. Corresponds to
`https://developer.android.com/reference/android/R.styleable#AndroidManifestSupportsScreens_resizeable`.

<br />

Constant Value:

4096
(0x00001000)


### FLAG_RESTORE_ANY_VERSION

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_RESTORE_ANY_VERSION
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: Set to `true` if the application's backup
agent claims to be able to handle restore data even "from the future,"
i.e. from versions of the application with a versionCode greater than
the one currently installed on the device. *Use with caution!* By default
this attribute is `false` and the Backup Manager will ensure that data
from "future" versions of the application are never supplied during a restore operation.

If
`https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_allowBackup`
is set to `false` or no
`https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_backupAgent`
is specified, this flag will be ignored.

Comes from the
`https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_restoreAnyVersion`
attribute of the \<application\> tag.

<br />

Constant Value:

131072
(0x00020000)


### FLAG_STOPPED

Added in [API level 12](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_STOPPED
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true if this application's package is in
the stopped state.

Stopped is the initial state after an app is installed, before it is launched
or otherwise directly interacted with by the user. The system tries not to
start it unless initiated by a user interaction (typically launching its icon
from the launcher, could also include user actions like adding it as an app widget,
selecting it as a live wallpaper, selecting it as a keyboard, etc). Stopped
applications will not receive implicit broadcasts unless the sender specifies
`https://developer.android.com/reference/android/content/Intent#FLAG_INCLUDE_STOPPED_PACKAGES`.

Applications should avoid launching activities, binding to or starting services, or
otherwise causing a stopped application to run unless initiated by the user.

An app can also return to the stopped state by a "force stop".

<br />

Constant Value:

2097152
(0x00200000)


### FLAG_SUPPORTS_LARGE_SCREENS

Added in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_SUPPORTS_LARGE_SCREENS
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application's window can be
increased in size for larger screens. Corresponds to
`https://developer.android.com/reference/android/R.styleable#AndroidManifestSupportsScreens_largeScreens`.

<br />

Constant Value:

2048
(0x00000800)


### FLAG_SUPPORTS_NORMAL_SCREENS

Added in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_SUPPORTS_NORMAL_SCREENS
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application's window can be
displayed on normal screens. Corresponds to
`https://developer.android.com/reference/android/R.styleable#AndroidManifestSupportsScreens_normalScreens`.

<br />

Constant Value:

1024
(0x00000400)


### FLAG_SUPPORTS_RTL

Added in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_SUPPORTS_RTL
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application is willing to support
RTL (right to left). All activities will inherit this value.

Set from the `https://developer.android.com/reference/android/R.attr#supportsRtl` attribute in the
activity's manifest.

Default value is false (no support for RTL).

<br />

Constant Value:

4194304
(0x00400000)


### FLAG_SUPPORTS_SCREEN_DENSITIES

Added in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level
30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_SUPPORTS_SCREEN_DENSITIES
```


**This constant was deprecated
in API level 30.**   

Set by default when targeting API 4 or higher and apps
should not set this to false.

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application knows how to
accommodate different screen densities. Corresponds to
`https://developer.android.com/reference/android/R.styleable#AndroidManifestSupportsScreens_anyDensity`.

<br />

Constant Value:

8192
(0x00002000)


### FLAG_SUPPORTS_SMALL_SCREENS

Added in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_SUPPORTS_SMALL_SCREENS
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application's window can be
reduced in size for smaller screens. Corresponds to
`https://developer.android.com/reference/android/R.styleable#AndroidManifestSupportsScreens_smallScreens`.

<br />

Constant Value:

512
(0x00000200)


### FLAG_SUPPORTS_XLARGE_SCREENS

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_SUPPORTS_XLARGE_SCREENS
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true when the application's window can be
increased in size for extra large screens. Corresponds to
`https://developer.android.com/reference/android/R.styleable#AndroidManifestSupportsScreens_xlargeScreens`.

<br />

Constant Value:

524288
(0x00080000)


### FLAG_SUSPENDED

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_SUSPENDED
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: true if this application's package is in
the suspended state.

<br />

Constant Value:

1073741824
(0x40000000)


### FLAG_SYSTEM

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_SYSTEM
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: if set, this application is installed in the device's system image.
This should not be used to make security decisions. Instead, rely on
[signature checks](https://developer.android.com/reference/android/content/pm/PackageManager#checkSignatures(java.lang.String,%20java.lang.String)) or
[permissions](https://developer.android.com/training/articles/security-tips#Permissions).

**Warning:** Note that this flag does not behave the same as
`https://developer.android.com/reference/android/R.attr#protectionLevel` `system` or
`signatureOrSystem`.

<br />

Constant Value:

1
(0x00000001)


### FLAG_TEST_ONLY

Added in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_TEST_ONLY
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: this is set if the application has specified
`https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_testOnly` to be true.

<br />

Constant Value:

256
(0x00000100)


### FLAG_UPDATED_SYSTEM_APP

Added in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_UPDATED_SYSTEM_APP
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: this is set if this application has been
installed as an update to a built-in system application.

<br />

Constant Value:

128
(0x00000080)


### FLAG_USES_CLEARTEXT_TRAFFIC

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_USES_CLEARTEXT_TRAFFIC
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: `true` if the application may use cleartext network traffic
(e.g., HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, SMTP
without STARTTLS or TLS). If `false`, the app declares that it does not intend to use
cleartext network traffic, in which case platform components (e.g., HTTP stacks,
`DownloadManager`, `MediaPlayer`) will refuse app's requests to use cleartext
traffic. Third-party libraries are encouraged to honor this flag as well.

NOTE: `WebView` honors this flag for applications targeting API level 26 and up.

This flag is ignored on Android N and above if an Android Network Security Config is
present.

This flag comes from
`https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_usesCleartextTraffic` of the \<application\> tag.

<br />

Constant Value:

134217728
(0x08000000)


### FLAG_VM_SAFE_MODE

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FLAG_VM_SAFE_MODE
```

Value for `https://developer.android.com/reference/android/content/pm/ApplicationInfo#flags`: set to true if this application would like to
request the VM to operate under the safe mode. Comes from
`https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_vmSafeMode` of the \<application\> tag.

<br />

Constant Value:

16384
(0x00004000)


### GWP_ASAN_ALWAYS

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int GWP_ASAN_ALWAYS
```

Always enable GWP-ASan in this application or process.

<br />

Constant Value:

1
(0x00000001)


### GWP_ASAN_DEFAULT

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int GWP_ASAN_DEFAULT
```

Default (unspecified) setting of GWP-ASan.

<br />

Constant Value:

-1
(0xffffffff)


### GWP_ASAN_NEVER

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int GWP_ASAN_NEVER
```

Never enable GWP-ASan in this application or process.

<br />

Constant Value:

0
(0x00000000)


### MEMTAG_ASYNC

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int MEMTAG_ASYNC
```

Enable Memtag in Async mode in this application or process.

<br />

Constant Value:

1
(0x00000001)


### MEMTAG_DEFAULT

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int MEMTAG_DEFAULT
```

Default (unspecified) setting of Memtag.

<br />

Constant Value:

-1
(0xffffffff)


### MEMTAG_OFF

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int MEMTAG_OFF
```

Do not enable Memtag in this application or process.

<br />

Constant Value:

0
(0x00000000)


### MEMTAG_SYNC

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int MEMTAG_SYNC
```

Enable Memtag in Sync mode in this application or process.

<br />

Constant Value:

2
(0x00000002)


### RAW_EXTERNAL_STORAGE_ACCESS_DEFAULT

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int RAW_EXTERNAL_STORAGE_ACCESS_DEFAULT
```

Use default value for
`https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_requestRawExternalStorageAccess`.

<br />

Constant Value:

0
(0x00000000)


### RAW_EXTERNAL_STORAGE_ACCESS_NOT_REQUESTED

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int RAW_EXTERNAL_STORAGE_ACCESS_NOT_REQUESTED
```

Raw external storage was not requested by this app.

<br />

Constant Value:

2
(0x00000002)


### RAW_EXTERNAL_STORAGE_ACCESS_REQUESTED

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int RAW_EXTERNAL_STORAGE_ACCESS_REQUESTED
```

Raw external storage was requested by this app.

<br />

Constant Value:

1
(0x00000001)


### ZEROINIT_DEFAULT

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int ZEROINIT_DEFAULT
```

Default (unspecified) setting of nativeHeapZeroInitialized.

<br />

Constant Value:

-1
(0xffffffff)


### ZEROINIT_DISABLED

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int ZEROINIT_DISABLED
```

Disable zero-initialization of the native heap in this application or process.

<br />

Constant Value:

0
(0x00000000)


### ZEROINIT_ENABLED

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int ZEROINIT_ENABLED
```

Enable zero-initialization of the native heap in this application or process.

<br />

Constant Value:

1
(0x00000001)


## Fields

### CREATOR

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final Creator<ApplicationInfo> CREATOR
```

<br />

<br />

### appComponentFactory

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String appComponentFactory
```

The factory of this package, as specified by the \<manifest\>
tag's `https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_appComponentFactory`
attribute.

<br />

### backupAgentName

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String backupAgentName
```

Class implementing the Application's backup functionality. From
the "backupAgent" attribute. This is an optional attribute and
will be null if the application does not specify it in its manifest.

If android:allowBackup is set to false, this attribute is ignored.

<br />

### category

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int category
```

The category of this app. Categories are used to cluster multiple apps
together into meaningful groups, such as when summarizing battery,
network, or disk usage. Apps should only define this value when they fit
well into one of the specific categories.


Set from the `https://developer.android.com/reference/android/R.attr#appCategory` attribute in the
manifest. If the manifest doesn't define a category, this value may have
been provided by the installer via
`https://developer.android.com/reference/android/content/pm/PackageManager#setApplicationCategoryHint(java.lang.String,%20int)`.


Value is one of the following:

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_UNDEFINED`
- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_GAME`
- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_AUDIO`
- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_VIDEO`
- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_IMAGE`
- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_SOCIAL`
- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_NEWS`
- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_MAPS`
- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_PRODUCTIVITY`
- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_ACCESSIBILITY`

### className

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String className
```

Class implementing the Application object. From the "class"
attribute.

<br />

### compatibleWidthLimitDp

Added in [API level 13](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int compatibleWidthLimitDp
```

The maximum smallest screen width the application is designed for. If 0,
nothing has been specified. Comes from
`https://developer.android.com/reference/android/R.styleable#AndroidManifestSupportsScreens_compatibleWidthLimitDp` attribute of the \<supports-screens\> tag.

<br />

### compileSdkVersion

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int compileSdkVersion
```

The user-visible SDK version (ex. 26) of the framework against which the application claims
to have been compiled, or `0` if not specified.


This property is the compile-time equivalent of
`https://developer.android.com/reference/android/os/Build.VERSION#CODENAME`.

<br />

### compileSdkVersionCodename

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String compileSdkVersionCodename
```

The development codename (ex. "S", "REL") of the framework against which the application
claims to have been compiled, or `null` if not specified.


This property is the compile-time equivalent of
`https://developer.android.com/reference/android/os/Build.VERSION#CODENAME`.

<br />

### dataDir

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String dataDir
```

Full path to the default directory assigned to the package for its
persistent data.

<br />

### descriptionRes

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int descriptionRes
```

A style resource identifier (in the package's resources) of the
description of an application. From the "description" attribute
or, if not set, 0.

<br />

### deviceProtectedDataDir

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String deviceProtectedDataDir
```

Full path to the device-protected directory assigned to the package for
its persistent data.

<br />

**See also:**

- `https://developer.android.com/reference/android/content/Context#createDeviceProtectedStorageContext()`

### enabled

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public boolean enabled
```

When false, indicates that all components within this application are
considered disabled, regardless of their individually set enabled status.

<br />

### flags

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int flags
```

Flags associated with the application. Any combination of
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SYSTEM`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_DEBUGGABLE`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_HAS_CODE`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_PERSISTENT`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_FACTORY_TEST`, and
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_ALLOW_TASK_REPARENTING`
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_ALLOW_CLEAR_USER_DATA`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_UPDATED_SYSTEM_APP`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_TEST_ONLY`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUPPORTS_SMALL_SCREENS`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUPPORTS_NORMAL_SCREENS`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUPPORTS_LARGE_SCREENS`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUPPORTS_XLARGE_SCREENS`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_RESIZEABLE_FOR_SCREENS`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUPPORTS_SCREEN_DENSITIES`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_VM_SAFE_MODE`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_ALLOW_BACKUP`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_KILL_AFTER_RESTORE`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_RESTORE_ANY_VERSION`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_EXTERNAL_STORAGE`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_LARGE_HEAP`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_STOPPED`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_SUPPORTS_RTL`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_INSTALLED`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_IS_DATA_ONLY`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_IS_GAME`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_FULL_BACKUP_ONLY`, `https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_USES_CLEARTEXT_TRAFFIC`,
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#FLAG_MULTIARCH`.

<br />

### isAppLockEnabled

Added in [version 37.2](https://developer.android.com/topic/libraries/support-library/revisions)

```
public boolean isAppLockEnabled
```

App lock enablement state of an application. This field is only set if the
`https://developer.android.com/reference/android/content/pm/PackageManager#GET_APP_LOCK_INFO` was used when retrieving the application info and
the caller has the `https://developer.android.com/reference/android/Manifest.permission#LOCK_APPS` permission and will default to
`false`. To enable App Lock for a package, call
`https://developer.android.com/reference/android/content/pm/PackageManager#getEnableAppLockIntentForPackage(java.lang.String,%20boolean)`.

<br />

### isAppLockSupported

Added in [version 37.2](https://developer.android.com/topic/libraries/support-library/revisions)

```
public boolean isAppLockSupported
```

If `true` this app supports App Lock. This field is only set if the
`https://developer.android.com/reference/android/content/pm/PackageManager#GET_APP_LOCK_INFO` was used when retrieving the application info and
the caller has the `https://developer.android.com/reference/android/Manifest.permission#LOCK_APPS` permission, and will default to
`false`. To enable App Lock for a package, call
`https://developer.android.com/reference/android/content/pm/PackageManager#getEnableAppLockIntentForPackage(java.lang.String,%20boolean)`.

<br />

### largestWidthLimitDp

Added in [API level 13](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int largestWidthLimitDp
```

The maximum smallest screen width the application will work on. If 0,
nothing has been specified. Comes from
`https://developer.android.com/reference/android/R.styleable#AndroidManifestSupportsScreens_largestWidthLimitDp` attribute of the \<supports-screens\> tag.

<br />

### manageSpaceActivityName

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String manageSpaceActivityName
```

Class implementing the Application's manage space
functionality. From the "manageSpaceActivity"
attribute. This is an optional attribute and will be null if
applications don't specify it in their manifest

<br />

### minSdkVersion

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int minSdkVersion
```

The minimum SDK version this application can run on. It will not run
on earlier versions.

<br />

### nativeLibraryDir

Added in [API level 9](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String nativeLibraryDir
```

Full path to the directory where native JNI libraries are stored.

<br />

### permission

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String permission
```

Optional name of a permission required to be able to access this
application's components. From the "permission" attribute.

<br />

### processName

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String processName
```

The name of the process this application should run in. From the
"process" attribute or, if not set, the same as
<var translate="no">packageName</var>.

<br />

### publicSourceDir

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String publicSourceDir
```

Full path to the publicly available parts of `https://developer.android.com/reference/android/content/pm/ApplicationInfo#sourceDir`,
including resources and manifest. This may be different from
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#sourceDir` if an application is forward locked.

<br />

### requiresSmallestWidthDp

Added in [API level 13](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int requiresSmallestWidthDp
```

The required smallest screen width the application can run on. If 0,
nothing has been specified. Comes from
`https://developer.android.com/reference/android/R.styleable#AndroidManifestSupportsScreens_requiresSmallestWidthDp` attribute of the \<supports-screens\> tag.

<br />

### sharedLibraryFiles

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String[] sharedLibraryFiles
```

Paths to all shared libraries this application is linked against. This
field is only set if the `https://developer.android.com/reference/android/content/pm/PackageManager#GET_SHARED_LIBRARY_FILES` flag was used when retrieving
the structure.

<br />

### sourceDir

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String sourceDir
```

Full path to the base APK for this application.

<br />

### splitNames

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String[] splitNames
```

The names of all installed split APKs, ordered lexicographically.
May be null if no splits are installed.

<br />

### splitPublicSourceDirs

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String[] splitPublicSourceDirs
```

Full path to the publicly available parts of `https://developer.android.com/reference/android/content/pm/ApplicationInfo#splitSourceDirs`,
including resources and manifest. This may be different from
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#splitSourceDirs` if an application is forward locked.
May be null if no splits are installed.

<br />

**See also:**

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#splitSourceDirs`

### splitSourceDirs

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String[] splitSourceDirs
```

Full paths to split APKs, indexed by the same order as `https://developer.android.com/reference/android/content/pm/ApplicationInfo#splitNames`.
May be null if no splits are installed.

<br />

### storageUuid

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public UUID storageUuid
```

UUID of the storage volume on which this application is being hosted. For
apps hosted on the default internal storage at
`https://developer.android.com/reference/android/os/Environment#getDataDirectory()`, the UUID value is
`https://developer.android.com/reference/android/os/storage/StorageManager#UUID_DEFAULT`.

<br />

### targetSdkVersion

Added in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int targetSdkVersion
```

The minimum SDK version this application targets. It may run on earlier
versions, but it knows how to work with any new behavior added at this
version. Will be `https://developer.android.com/reference/android/os/Build.VERSION_CODES#CUR_DEVELOPMENT`
if this is a development build and the app is targeting that. You should
compare that this number is \>= the SDK version number at which your
behavior was introduced.

<br />

### taskAffinity

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String taskAffinity
```

Default task affinity of all activities in this application. See
`https://developer.android.com/reference/android/content/pm/ActivityInfo#taskAffinity` for more information. This comes
from the "taskAffinity" attribute.

<br />

### theme

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int theme
```

A style resource identifier (in the package's resources) of the
default visual theme of the application. From the "theme" attribute
or, if not set, 0.

<br />

### uiOptions

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int uiOptions
```

The default extra UI options for activities in this application.
Set from the `https://developer.android.com/reference/android/R.attr#uiOptions` attribute in the
activity's manifest.

<br />

### uid

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int uid
```

The kernel user-ID that has been assigned to this application;
currently this is not a unique ID (multiple applications can have
the same uid).

<br />

## Public constructors

### ApplicationInfo

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public ApplicationInfo ()
```

<br />

<br />

### ApplicationInfo

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public ApplicationInfo (ApplicationInfo orig)
```

<br />

<br />

| Parameters ||
|---|---|
| `orig` | `ApplicationInfo` <br /> |

## Public methods

### areAttributionsUserVisible

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public boolean areAttributionsUserVisible ()
```

Returns whether attributions provided by the application are meant to be user-visible.
Defaults to false if application info is retrieved without
`https://developer.android.com/reference/android/content/pm/PackageManager#GET_ATTRIBUTIONS_LONG`.

<br />

| Returns ||
|---|---|
| `boolean` | <br /> |

### describeContents

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int describeContents ()
```

Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation. For example, if the object will
include a file descriptor in the output of `https://developer.android.com/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int)`,
the return value of this method must include the
`https://developer.android.com/reference/android/os/Parcelable#CONTENTS_FILE_DESCRIPTOR` bit.

<br />

| Returns ||
|---|---|
| `int` | a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either `0` or - `https://developer.android.com/reference/android/os/Parcelable#CONTENTS_FILE_DESCRIPTOR` |

### dump

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public void dump (Printer pw, 
                String prefix)
```

<br />

<br />

| Parameters ||
|---|---|
| `pw` | `Printer` <br /> |
| `prefix` | `String` <br /> |

### getCategoryTitle

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static CharSequence getCategoryTitle (Context context, 
                int category)
```

Return a concise, localized title for the given
`https://developer.android.com/reference/android/content/pm/ApplicationInfo#category` value, or `null` for unknown
values such as `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_UNDEFINED`.

<br />

| Parameters ||
|---|---|
| `context` | `Context` <br /> |
| `category` | `int`: Value is one of the following: - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_UNDEFINED` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_GAME` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_AUDIO` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_VIDEO` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_IMAGE` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_SOCIAL` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_NEWS` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_MAPS` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_PRODUCTIVITY` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#CATEGORY_ACCESSIBILITY` |

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/CharSequence` | <br /> |

**See also:**

- `https://developer.android.com/reference/android/content/pm/ApplicationInfo#category`

### getGwpAsanMode

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int getGwpAsanMode ()
```

<br />

<br />

| Returns ||
|---|---|
| `int` | Value is one of the following: - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#GWP_ASAN_DEFAULT` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#GWP_ASAN_NEVER` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#GWP_ASAN_ALWAYS` |

### getKnownActivityEmbeddingCerts

Added in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public Set<String> getKnownActivityEmbeddingCerts ()
```

Gets the trusted host certificate digests of apps that are allowed to embed activities of
this application. The digests are computed using the SHA-256 digest algorithm.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/util/Set<https://developer.android.com/reference/java/lang/String>` | This value cannot be `null`. <br /> |

**See also:**

- `https://developer.android.com/reference/android/R.attr#knownActivityEmbeddingCerts`

### getMemtagMode

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int getMemtagMode ()
```

Returns whether the application has requested Memtag to be enabled, disabled, or left
unspecified. Processes can override this setting.

<br />

| Returns ||
|---|---|
| `int` | Value is one of the following: - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#MEMTAG_DEFAULT` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#MEMTAG_OFF` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#MEMTAG_ASYNC` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#MEMTAG_SYNC` |

### getNativeHeapZeroInitialized

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int getNativeHeapZeroInitialized ()
```

Returns whether the application has requested automatic zero-initialization of native heap
memory allocations to be enabled or disabled.

<br />

| Returns ||
|---|---|
| `int` | Value is one of the following: - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#ZEROINIT_DEFAULT` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#ZEROINIT_DISABLED` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#ZEROINIT_ENABLED` |

### getRequestRawExternalStorageAccess

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int getRequestRawExternalStorageAccess ()
```

<br />

<br />

| Returns ||
|---|---|
| `int` | - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#RAW_EXTERNAL_STORAGE_ACCESS_DEFAULT` if app didn't specify `https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_requestRawExternalStorageAccess` attribute in the manifest. - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#RAW_EXTERNAL_STORAGE_ACCESS_REQUESTED` if this app requested raw external storage access. - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#RAW_EXTERNAL_STORAGE_ACCESS_NOT_REQUESTED` if this app requests to disable raw external storage access Note that this doesn't give any hints on whether the app gets raw external storage access or not. Also, apps may get raw external storage access by default in some cases, see `https://developer.android.com/reference/android/R.styleable#AndroidManifestApplication_requestRawExternalStorageAccess`. Value is one of the following: - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#RAW_EXTERNAL_STORAGE_ACCESS_DEFAULT` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#RAW_EXTERNAL_STORAGE_ACCESS_REQUESTED` - `https://developer.android.com/reference/android/content/pm/ApplicationInfo#RAW_EXTERNAL_STORAGE_ACCESS_NOT_REQUESTED` |

### isProfileable

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public boolean isProfileable ()
```

Returns whether this application can be profiled, either by the shell user or the system.

<br />

| Returns ||
|---|---|
| `boolean` | <br /> |

### isProfileableByShell

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public boolean isProfileableByShell ()
```

Returns whether or not this application can be profiled by the shell user,
even when running on a device that is running in user mode.

<br />

| Returns ||
|---|---|
| `boolean` | <br /> |

### isResourceOverlay

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public boolean isResourceOverlay ()
```

Returns true if the package has declared in its manifest that it is a
runtime resource overlay.

<br />

| Returns ||
|---|---|
| `boolean` | <br /> |

### isVirtualPreload

Added in [API level 27](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public boolean isVirtualPreload ()
```

Returns whether or not this application was installed as a virtual preload.

<br />

| Returns ||
|---|---|
| `boolean` | <br /> |

### loadDescription

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public CharSequence loadDescription (PackageManager pm)
```

Retrieve the textual description of the application. This
will call back on the given PackageManager to load the description from
the application.

<br />

| Parameters ||
|---|---|
| `pm` | `PackageManager`: A PackageManager from which the label can be loaded; usually the PackageManager from which you originally retrieved this item. <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/CharSequence` | Returns a CharSequence containing the application's description. If there is no description, null is returned. <br /> |

### toString

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String toString ()
```

Returns a string representation of the object.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | a string representation of the object. <br /> |

### writeToParcel

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public void writeToParcel (Parcel dest, 
                int parcelableFlags)
```

<br />

<br />

| Parameters ||
|---|---|
| `dest` | `Parcel` <br /> |
| `parcelableFlags` | `int` <br /> |