Example usage for Java android.content.pm ActivityInfo fields, constructors, methods, implement or subclass
The text is from its open source code.
int | LAUNCH_MULTIPLE Constant corresponding to standard in the android.R.attr#launchMode attribute. |
int | DOCUMENT_LAUNCH_NONE Constant corresponding to none in the android.R.attr#documentLaunchMode attribute. |
int | PERSIST_ROOT_ONLY Constant corresponding to persistRootOnly in the android.R.attr#persistableMode attribute. |
int | FLAG_MULTIPROCESS Bit in #flags indicating whether this activity is able to run in multiple processes. |
int | FLAG_FINISH_ON_TASK_LAUNCH Bit in #flags indicating that, when the activity's task is relaunched from home, this activity should be finished. |
int | FLAG_CLEAR_TASK_ON_LAUNCH Bit in #flags indicating that, when the activity is the root of a task, that task's stack should be cleared each time the user re-launches it from home. |
int | FLAG_ALWAYS_RETAIN_TASK_STATE Bit in #flags indicating that, when the activity is the root of a task, that task's stack should never be cleared when it is relaunched from home. |
int | FLAG_STATE_NOT_NEEDED Bit in #flags indicating that the activity's state is not required to be saved, so that if there is a failure the activity will not be removed from the activity stack. |
int | FLAG_EXCLUDE_FROM_RECENTS Bit in #flags that indicates that the activity should not appear in the list of recently launched activities. |
int | FLAG_ALLOW_TASK_REPARENTING Bit in #flags that indicates that the activity can be moved between tasks based on its task affinity. |
int | FLAG_NO_HISTORY Bit in #flags indicating that, when the user navigates away from an activity, it should be finished. |
int | FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS Bit in #flags indicating that, when a request to close system windows happens, this activity is finished. |
int | FLAG_HARDWARE_ACCELERATED Value for #flags : true when the application's rendering should be hardware accelerated. |
int | FLAG_SHOW_FOR_ALL_USERS Value for #flags : true when the application can be displayed for all users regardless of if the user of the application is the current user. |
int | FLAG_IMMERSIVE Bit in #flags corresponding to an immersive activity that wishes not to be interrupted by notifications. |
int | FLAG_RELINQUISH_TASK_IDENTITY Bit in #flags : If set, a task rooted at this activity will have its baseIntent replaced by the activity immediately above this. |
int | FLAG_AUTO_REMOVE_FROM_RECENTS Bit in #flags indicating that tasks started with this activity are to be removed from the recent list of tasks when the last activity in the task is finished. |
int | FLAG_RESUME_WHILE_PAUSING Bit in #flags indicating that this activity can start is creation/resume while the previous activity is still pausing. |
int | FLAG_SINGLE_USER Bit in #flags : If set, a single instance of the receiver will run for all users on the device. |
int | FLAG_ALLOW_EMBEDDED |
int | SCREEN_ORIENTATION_UNSPECIFIED Constant corresponding to unspecified in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_LANDSCAPE Constant corresponding to landscape in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_PORTRAIT Constant corresponding to portrait in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_USER Constant corresponding to user in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_BEHIND Constant corresponding to behind in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_SENSOR Constant corresponding to sensor in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_NOSENSOR Constant corresponding to nosensor in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_SENSOR_LANDSCAPE Constant corresponding to sensorLandscape in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_SENSOR_PORTRAIT Constant corresponding to sensorPortrait in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_REVERSE_LANDSCAPE Constant corresponding to reverseLandscape in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_REVERSE_PORTRAIT Constant corresponding to reversePortrait in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_FULL_SENSOR Constant corresponding to fullSensor in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_FULL_USER Constant corresponding to fullUser in the android.R.attr#screenOrientation attribute. |
int | SCREEN_ORIENTATION_LOCKED Constant corresponding to locked in the android.R.attr#screenOrientation attribute. |
int | CONFIG_LOCALE Bit in #configChanges that indicates that the activity can itself handle changes to the locale. |
int | CONFIG_KEYBOARD Bit in #configChanges that indicates that the activity can itself handle changes to the keyboard type. |
int | CONFIG_ORIENTATION Bit in #configChanges that indicates that the activity can itself handle changes to the screen orientation. |
int | CONFIG_SCREEN_SIZE Bit in #configChanges that indicates that the activity can itself handle the screen size. |
int | CONFIG_LAYOUT_DIRECTION Bit in #configChanges that indicates that the activity can itself handle the change to layout direction. |
int | CONFIG_FONT_SCALE Bit in #configChanges that indicates that the activity can itself handle changes to the font scaling factor. |
int | UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW Flag for use with #uiOptions . |
int | getIconResource() Return the icon resource identifier to use for this component. |
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. |
XmlResourceParser | loadXmlMetaData(PackageManager pm, String name) Load an XML resource attached to the meta-data of this item. |