android.content.pm
Class ActivityInfo

java.lang.Object
  extended by android.content.pm.PackageItemInfo
      extended by android.content.pm.ComponentInfo
          extended by android.content.pm.ActivityInfo
All Implemented Interfaces:
Parcelable

public class ActivityInfo
extends ComponentInfo
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from class android.content.pm.PackageItemInfo
PackageItemInfo.DisplayNameComparator
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static int CONFIG_FONT_SCALE
           
static int CONFIG_KEYBOARD
           
static int CONFIG_KEYBOARD_HIDDEN
           
static int CONFIG_LOCALE
           
static int CONFIG_MCC
           
static int CONFIG_MNC
           
static int CONFIG_NAVIGATION
           
static int CONFIG_ORIENTATION
           
static int CONFIG_SCREEN_LAYOUT
           
static int CONFIG_SCREEN_SIZE
           
static int CONFIG_SMALLEST_SCREEN_SIZE
           
static int CONFIG_TOUCHSCREEN
           
static int CONFIG_UI_MODE
           
 int configChanges
           
static Parcelable.Creator<ActivityInfo> CREATOR
           
static int FLAG_ALLOW_TASK_REPARENTING
           
static int FLAG_ALWAYS_RETAIN_TASK_STATE
           
static int FLAG_CLEAR_TASK_ON_LAUNCH
           
static int FLAG_EXCLUDE_FROM_RECENTS
           
static int FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS
           
static int FLAG_FINISH_ON_TASK_LAUNCH
           
static int FLAG_HARDWARE_ACCELERATED
           
static int FLAG_MULTIPROCESS
           
static int FLAG_NO_HISTORY
           
static int FLAG_STATE_NOT_NEEDED
           
 int flags
           
static int LAUNCH_MULTIPLE
           
static int LAUNCH_SINGLE_INSTANCE
           
static int LAUNCH_SINGLE_TASK
           
static int LAUNCH_SINGLE_TOP
           
 int launchMode
           
 String permission
           
static int SCREEN_ORIENTATION_BEHIND
           
static int SCREEN_ORIENTATION_FULL_SENSOR
           
static int SCREEN_ORIENTATION_LANDSCAPE
           
static int SCREEN_ORIENTATION_NOSENSOR
           
static int SCREEN_ORIENTATION_PORTRAIT
           
static int SCREEN_ORIENTATION_REVERSE_LANDSCAPE
           
static int SCREEN_ORIENTATION_REVERSE_PORTRAIT
           
static int SCREEN_ORIENTATION_SENSOR
           
static int SCREEN_ORIENTATION_SENSOR_LANDSCAPE
           
static int SCREEN_ORIENTATION_SENSOR_PORTRAIT
           
static int SCREEN_ORIENTATION_UNSPECIFIED
           
static int SCREEN_ORIENTATION_USER
           
 int screenOrientation
           
 int softInputMode
           
 String targetActivity
           
 String taskAffinity
           
 int theme
           
static int UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW
           
 int uiOptions
           
 
Fields inherited from class android.content.pm.ComponentInfo
applicationInfo, descriptionRes, enabled, exported, processName
 
Fields inherited from class android.content.pm.PackageItemInfo
icon, labelRes, logo, metaData, name, nonLocalizedLabel, packageName
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
ActivityInfo()
           
ActivityInfo(ActivityInfo orig)
           
 
Method Summary
 int describeContents()
           
 void dump(Printer pw, String prefix)
           
 int getThemeResource()
           
 String toString()
           
 void writeToParcel(Parcel dest, int parcelableFlags)
           
 
Methods inherited from class android.content.pm.ComponentInfo
dumpBack, dumpFront, getIconResource, isEnabled, loadLabel
 
Methods inherited from class android.content.pm.PackageItemInfo
loadIcon, loadLogo, loadXmlMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

theme

public int theme

LAUNCH_MULTIPLE

public static final int LAUNCH_MULTIPLE
See Also:
Constant Field Values

LAUNCH_SINGLE_TOP

public static final int LAUNCH_SINGLE_TOP
See Also:
Constant Field Values

LAUNCH_SINGLE_TASK

public static final int LAUNCH_SINGLE_TASK
See Also:
Constant Field Values

LAUNCH_SINGLE_INSTANCE

public static final int LAUNCH_SINGLE_INSTANCE
See Also:
Constant Field Values

launchMode

public int launchMode

permission

public String permission

taskAffinity

public String taskAffinity

targetActivity

public String targetActivity

FLAG_MULTIPROCESS

public static final int FLAG_MULTIPROCESS
See Also:
Constant Field Values

FLAG_FINISH_ON_TASK_LAUNCH

public static final int FLAG_FINISH_ON_TASK_LAUNCH
See Also:
Constant Field Values

FLAG_CLEAR_TASK_ON_LAUNCH

public static final int FLAG_CLEAR_TASK_ON_LAUNCH
See Also:
Constant Field Values

FLAG_ALWAYS_RETAIN_TASK_STATE

public static final int FLAG_ALWAYS_RETAIN_TASK_STATE
See Also:
Constant Field Values

FLAG_STATE_NOT_NEEDED

public static final int FLAG_STATE_NOT_NEEDED
See Also:
Constant Field Values

FLAG_EXCLUDE_FROM_RECENTS

public static final int FLAG_EXCLUDE_FROM_RECENTS
See Also:
Constant Field Values

FLAG_ALLOW_TASK_REPARENTING

public static final int FLAG_ALLOW_TASK_REPARENTING
See Also:
Constant Field Values

FLAG_NO_HISTORY

public static final int FLAG_NO_HISTORY
See Also:
Constant Field Values

FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS

public static final int FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS
See Also:
Constant Field Values

FLAG_HARDWARE_ACCELERATED

public static final int FLAG_HARDWARE_ACCELERATED
See Also:
Constant Field Values

flags

public int flags

SCREEN_ORIENTATION_UNSPECIFIED

public static final int SCREEN_ORIENTATION_UNSPECIFIED
See Also:
Constant Field Values

SCREEN_ORIENTATION_LANDSCAPE

public static final int SCREEN_ORIENTATION_LANDSCAPE
See Also:
Constant Field Values

SCREEN_ORIENTATION_PORTRAIT

public static final int SCREEN_ORIENTATION_PORTRAIT
See Also:
Constant Field Values

SCREEN_ORIENTATION_USER

public static final int SCREEN_ORIENTATION_USER
See Also:
Constant Field Values

SCREEN_ORIENTATION_BEHIND

public static final int SCREEN_ORIENTATION_BEHIND
See Also:
Constant Field Values

SCREEN_ORIENTATION_SENSOR

public static final int SCREEN_ORIENTATION_SENSOR
See Also:
Constant Field Values

SCREEN_ORIENTATION_NOSENSOR

public static final int SCREEN_ORIENTATION_NOSENSOR
See Also:
Constant Field Values

SCREEN_ORIENTATION_SENSOR_LANDSCAPE

public static final int SCREEN_ORIENTATION_SENSOR_LANDSCAPE
See Also:
Constant Field Values

SCREEN_ORIENTATION_SENSOR_PORTRAIT

public static final int SCREEN_ORIENTATION_SENSOR_PORTRAIT
See Also:
Constant Field Values

SCREEN_ORIENTATION_REVERSE_LANDSCAPE

public static final int SCREEN_ORIENTATION_REVERSE_LANDSCAPE
See Also:
Constant Field Values

SCREEN_ORIENTATION_REVERSE_PORTRAIT

public static final int SCREEN_ORIENTATION_REVERSE_PORTRAIT
See Also:
Constant Field Values

SCREEN_ORIENTATION_FULL_SENSOR

public static final int SCREEN_ORIENTATION_FULL_SENSOR
See Also:
Constant Field Values

screenOrientation

public int screenOrientation

CONFIG_MCC

public static final int CONFIG_MCC
See Also:
Constant Field Values

CONFIG_MNC

public static final int CONFIG_MNC
See Also:
Constant Field Values

CONFIG_LOCALE

public static final int CONFIG_LOCALE
See Also:
Constant Field Values

CONFIG_TOUCHSCREEN

public static final int CONFIG_TOUCHSCREEN
See Also:
Constant Field Values

CONFIG_KEYBOARD

public static final int CONFIG_KEYBOARD
See Also:
Constant Field Values

CONFIG_KEYBOARD_HIDDEN

public static final int CONFIG_KEYBOARD_HIDDEN
See Also:
Constant Field Values

CONFIG_NAVIGATION

public static final int CONFIG_NAVIGATION
See Also:
Constant Field Values

CONFIG_ORIENTATION

public static final int CONFIG_ORIENTATION
See Also:
Constant Field Values

CONFIG_SCREEN_LAYOUT

public static final int CONFIG_SCREEN_LAYOUT
See Also:
Constant Field Values

CONFIG_UI_MODE

public static final int CONFIG_UI_MODE
See Also:
Constant Field Values

CONFIG_SCREEN_SIZE

public static final int CONFIG_SCREEN_SIZE
See Also:
Constant Field Values

CONFIG_SMALLEST_SCREEN_SIZE

public static final int CONFIG_SMALLEST_SCREEN_SIZE
See Also:
Constant Field Values

CONFIG_FONT_SCALE

public static final int CONFIG_FONT_SCALE
See Also:
Constant Field Values

configChanges

public int configChanges

softInputMode

public int softInputMode

uiOptions

public int uiOptions

UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW

public static final int UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW
See Also:
Constant Field Values

CREATOR

public static final Parcelable.Creator<ActivityInfo> CREATOR
Constructor Detail

ActivityInfo

public ActivityInfo()

ActivityInfo

public ActivityInfo(ActivityInfo orig)
Method Detail

getThemeResource

public final int getThemeResource()

dump

public void dump(Printer pw,
                 String prefix)

toString

public String toString()
Overrides:
toString in class Object

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel dest,
                          int parcelableFlags)
Specified by:
writeToParcel in interface Parcelable
Overrides:
writeToParcel in class ComponentInfo


Copyright © 2008-2012. All Rights Reserved.