Java android.content.pm ActivityInfo fields, constructors, methods, implement or subclass

Example usage for Java android.content.pm ActivityInfo fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.content.pm ActivityInfo.

The text is from its open source code.

Field

intLAUNCH_MULTIPLE
Constant corresponding to standard in the android.R.attr#launchMode attribute.
intDOCUMENT_LAUNCH_NONE
Constant corresponding to none in the android.R.attr#documentLaunchMode attribute.
intPERSIST_ROOT_ONLY
Constant corresponding to persistRootOnly in the android.R.attr#persistableMode attribute.
intFLAG_MULTIPROCESS
Bit in #flags indicating whether this activity is able to run in multiple processes.
intFLAG_FINISH_ON_TASK_LAUNCH
Bit in #flags indicating that, when the activity's task is relaunched from home, this activity should be finished.
intFLAG_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.
intFLAG_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.
intFLAG_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.
intFLAG_EXCLUDE_FROM_RECENTS
Bit in #flags that indicates that the activity should not appear in the list of recently launched activities.
intFLAG_ALLOW_TASK_REPARENTING
Bit in #flags that indicates that the activity can be moved between tasks based on its task affinity.
intFLAG_NO_HISTORY
Bit in #flags indicating that, when the user navigates away from an activity, it should be finished.
intFLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS
Bit in #flags indicating that, when a request to close system windows happens, this activity is finished.
intFLAG_HARDWARE_ACCELERATED
Value for #flags : true when the application's rendering should be hardware accelerated.
intFLAG_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.
intFLAG_IMMERSIVE
Bit in #flags corresponding to an immersive activity that wishes not to be interrupted by notifications.
intFLAG_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.
intFLAG_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.
intFLAG_RESUME_WHILE_PAUSING
Bit in #flags indicating that this activity can start is creation/resume while the previous activity is still pausing.
intFLAG_SINGLE_USER
Bit in #flags : If set, a single instance of the receiver will run for all users on the device.
intFLAG_ALLOW_EMBEDDED
intSCREEN_ORIENTATION_UNSPECIFIED
Constant corresponding to unspecified in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_LANDSCAPE
Constant corresponding to landscape in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_PORTRAIT
Constant corresponding to portrait in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_USER
Constant corresponding to user in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_BEHIND
Constant corresponding to behind in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_SENSOR
Constant corresponding to sensor in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_NOSENSOR
Constant corresponding to nosensor in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_SENSOR_LANDSCAPE
Constant corresponding to sensorLandscape in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_SENSOR_PORTRAIT
Constant corresponding to sensorPortrait in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_REVERSE_LANDSCAPE
Constant corresponding to reverseLandscape in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_REVERSE_PORTRAIT
Constant corresponding to reversePortrait in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_FULL_SENSOR
Constant corresponding to fullSensor in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_FULL_USER
Constant corresponding to fullUser in the android.R.attr#screenOrientation attribute.
intSCREEN_ORIENTATION_LOCKED
Constant corresponding to locked in the android.R.attr#screenOrientation attribute.
intCONFIG_LOCALE
Bit in #configChanges that indicates that the activity can itself handle changes to the locale.
intCONFIG_KEYBOARD
Bit in #configChanges that indicates that the activity can itself handle changes to the keyboard type.
intCONFIG_ORIENTATION
Bit in #configChanges that indicates that the activity can itself handle changes to the screen orientation.
intCONFIG_SCREEN_SIZE
Bit in #configChanges that indicates that the activity can itself handle the screen size.
intCONFIG_LAYOUT_DIRECTION
Bit in #configChanges that indicates that the activity can itself handle the change to layout direction.
intCONFIG_FONT_SCALE
Bit in #configChanges that indicates that the activity can itself handle changes to the font scaling factor.
intUIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW
Flag for use with #uiOptions .

Constructor

Method

intgetIconResource()
Return the icon resource identifier to use for this component.
DrawableloadIcon(PackageManager pm)
Retrieve the current graphical icon associated with this item.
CharSequenceloadLabel(@NonNull PackageManager pm)
Retrieve the current textual label associated with this item.
XmlResourceParserloadXmlMetaData(PackageManager pm, String name)
Load an XML resource attached to the meta-data of this item.