Example usage for Java android.content.pm ApplicationInfo fields, constructors, methods, implement or subclass
The text is from its open source code.
int | FLAG_SYSTEM Value for #flags : if set, this application is installed in the device's system image. |
int | FLAG_DEBUGGABLE Value for #flags : set to true if this application would like to allow debugging of its code, even when installed on a non-development system. |
int | FLAG_HAS_CODE Value for #flags : set to true if this application has code associated with it. |
int | FLAG_PERSISTENT Value for #flags : set to true if this application is persistent. |
int | FLAG_ALLOW_TASK_REPARENTING Value for #flags : default value for the corresponding ActivityInfo flag. |
int | FLAG_ALLOW_CLEAR_USER_DATA Value for #flags : default value for the corresponding ActivityInfo flag. |
int | FLAG_UPDATED_SYSTEM_APP Value for #flags : this is set if this application has been installed as an update to a built-in system application. |
int | FLAG_TEST_ONLY Value for #flags : this is set if the application has specified android.R.styleable#AndroidManifestApplication_testOnly android:testOnly to be true. |
int | FLAG_SUPPORTS_SMALL_SCREENS Value for #flags : true when the application's window can be reduced in size for smaller screens. |
int | FLAG_SUPPORTS_NORMAL_SCREENS Value for #flags : true when the application's window can be displayed on normal screens. |
int | FLAG_SUPPORTS_LARGE_SCREENS Value for #flags : true when the application's window can be increased in size for larger screens. |
int | FLAG_RESIZEABLE_FOR_SCREENS Value for #flags : true when the application knows how to adjust its UI for different screen sizes. |
int | FLAG_SUPPORTS_SCREEN_DENSITIES Value for #flags : true when the application knows how to accommodate different screen densities. |
int | FLAG_VM_SAFE_MODE Value for #flags : set to true if this application would like to request the VM to operate under the safe mode. |
int | FLAG_ALLOW_BACKUP Value for #flags : set to false if the application does not wish to permit any OS-driven backups of its data; true otherwise. |
int | FLAG_KILL_AFTER_RESTORE Value for #flags : set to false if the application must be kept in memory following a full-system restore operation; true otherwise. |
int | FLAG_RESTORE_ANY_VERSION Value for #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 | FLAG_EXTERNAL_STORAGE Value for #flags : Set to true if the application is currently installed on external/removable/unprotected storage. |
int | FLAG_SUPPORTS_XLARGE_SCREENS Value for #flags : true when the application's window can be increased in size for extra large screens. |
int | FLAG_LARGE_HEAP Value for #flags : true when the application has requested a large heap for its processes. |
int | FLAG_STOPPED Value for #flags : true if this application's package is in the stopped state. |
int | FLAG_SUPPORTS_RTL Value for #flags : true when the application is willing to support RTL (right to left). |
int | FLAG_INSTALLED Value for #flags : true if the application is currently installed for the calling user. |
int | FLAG_IS_GAME Value for #flags : true if the application was declared to be a game, or false if it is a non-game application. |
int | FLAG_FULL_BACKUP_ONLY Value for #flags : true if the application asks that only full-data streaming backups of its data be performed even though it defines a android.app.backup.BackupAgent BackupAgent , which normally indicates that the app will manage its backed-up data via incremental key/value updates. |
int | FLAG_USES_CLEARTEXT_TRAFFIC Value for #flags : true if the application may use cleartext network traffic (e.g., HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, STMP without STARTTLS or TLS). |
int | FLAG_EXTRACT_NATIVE_LIBS When set installer extracts native libs from .apk files. |
int | FLAG_HARDWARE_ACCELERATED Value for #flags : true when the application's rendering should be hardware accelerated. |
int | FLAG_MULTIARCH Value for #flags : true if code from this application will need to be loaded into other applications' processes. |
int | PRIVATE_FLAG_HIDDEN Value for #privateFlags : true if the application is hidden via restrictions and for most purposes is considered as not installed. |
int | PRIVATE_FLAG_CANT_SAVE_STATE Value for #privateFlags : set to true if the application has reported that it is heavy-weight, and thus can not participate in the normal application lifecycle. |
int | PRIVATE_FLAG_FORWARD_LOCK Value for #privateFlags : Set to true if the application has been installed using the forward lock option. |
int | PRIVATE_FLAG_PRIVILEGED Value for #privateFlags : set to true if the application is permitted to hold privileged permissions. |
int | PRIVATE_FLAG_HAS_DOMAIN_URLS Value for #privateFlags : true if the application has any IntentFiler with some data URI using HTTP or HTTPS with an associated VIEW action. |
void | disableCompatibilityMode() Disable compatibility mode |
CharSequence | loadDescription(PackageManager pm) Retrieve the textual description of the application. |
Drawable | loadIcon(PackageManager pm) Retrieve the current graphical icon associated with this item. |
CharSequence | loadLabel(@NonNull PackageManager pm) Retrieve the current textual label associated with this item. |
Drawable | loadLogo(PackageManager pm) Retrieve the current graphical logo associated with this item. |