android.content.pm
Class ApplicationInfo

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

public class ApplicationInfo
extends PackageItemInfo
implements Parcelable


Nested Class Summary
static class ApplicationInfo.DisplayNameComparator
           
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
 String backupAgentName
           
 String className
           
 int compatibleWidthLimitDp
           
static Parcelable.Creator<ApplicationInfo> CREATOR
           
 String dataDir
           
 int descriptionRes
           
 boolean enabled
           
static int FLAG_ALLOW_BACKUP
           
static int FLAG_ALLOW_CLEAR_USER_DATA
           
static int FLAG_ALLOW_TASK_REPARENTING
           
static int FLAG_DEBUGGABLE
           
static int FLAG_EXTERNAL_STORAGE
           
static int FLAG_FACTORY_TEST
           
static int FLAG_HAS_CODE
           
static int FLAG_KILL_AFTER_RESTORE
           
static int FLAG_LARGE_HEAP
           
static int FLAG_PERSISTENT
           
static int FLAG_RESIZEABLE_FOR_SCREENS
           
static int FLAG_RESTORE_ANY_VERSION
           
static int FLAG_STOPPED
           
static int FLAG_SUPPORTS_LARGE_SCREENS
           
static int FLAG_SUPPORTS_NORMAL_SCREENS
           
static int FLAG_SUPPORTS_SCREEN_DENSITIES
           
static int FLAG_SUPPORTS_SMALL_SCREENS
           
static int FLAG_SUPPORTS_XLARGE_SCREENS
           
static int FLAG_SYSTEM
           
static int FLAG_TEST_ONLY
           
static int FLAG_UPDATED_SYSTEM_APP
           
static int FLAG_VM_SAFE_MODE
           
 int flags
           
 int largestWidthLimitDp
           
 String manageSpaceActivityName
           
 String nativeLibraryDir
           
 String permission
           
 String processName
           
 String publicSourceDir
           
 int requiresSmallestWidthDp
           
 String[] sharedLibraryFiles
           
 String sourceDir
           
 int targetSdkVersion
           
 String taskAffinity
           
 int theme
           
 int uid
           
 int uiOptions
           
 
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
ApplicationInfo()
           
ApplicationInfo(ApplicationInfo orig)
           
 
Method Summary
 int describeContents()
           
 void dump(Printer pw, String prefix)
           
 CharSequence loadDescription(PackageManager pm)
           
 String toString()
           
 void writeToParcel(Parcel dest, int parcelableFlags)
           
 
Methods inherited from class android.content.pm.PackageItemInfo
dumpBack, dumpFront, loadIcon, loadLabel, loadLogo, loadXmlMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

taskAffinity

public String taskAffinity

permission

public String permission

processName

public String processName

className

public String className

descriptionRes

public int descriptionRes

theme

public int theme

manageSpaceActivityName

public String manageSpaceActivityName

backupAgentName

public String backupAgentName

uiOptions

public int uiOptions

FLAG_SYSTEM

public static final int FLAG_SYSTEM
See Also:
Constant Field Values

FLAG_DEBUGGABLE

public static final int FLAG_DEBUGGABLE
See Also:
Constant Field Values

FLAG_HAS_CODE

public static final int FLAG_HAS_CODE
See Also:
Constant Field Values

FLAG_PERSISTENT

public static final int FLAG_PERSISTENT
See Also:
Constant Field Values

FLAG_FACTORY_TEST

public static final int FLAG_FACTORY_TEST
See Also:
Constant Field Values

FLAG_ALLOW_TASK_REPARENTING

public static final int FLAG_ALLOW_TASK_REPARENTING
See Also:
Constant Field Values

FLAG_ALLOW_CLEAR_USER_DATA

public static final int FLAG_ALLOW_CLEAR_USER_DATA
See Also:
Constant Field Values

FLAG_UPDATED_SYSTEM_APP

public static final int FLAG_UPDATED_SYSTEM_APP
See Also:
Constant Field Values

FLAG_TEST_ONLY

public static final int FLAG_TEST_ONLY
See Also:
Constant Field Values

FLAG_SUPPORTS_SMALL_SCREENS

public static final int FLAG_SUPPORTS_SMALL_SCREENS
See Also:
Constant Field Values

FLAG_SUPPORTS_NORMAL_SCREENS

public static final int FLAG_SUPPORTS_NORMAL_SCREENS
See Also:
Constant Field Values

FLAG_SUPPORTS_LARGE_SCREENS

public static final int FLAG_SUPPORTS_LARGE_SCREENS
See Also:
Constant Field Values

FLAG_RESIZEABLE_FOR_SCREENS

public static final int FLAG_RESIZEABLE_FOR_SCREENS
See Also:
Constant Field Values

FLAG_SUPPORTS_SCREEN_DENSITIES

public static final int FLAG_SUPPORTS_SCREEN_DENSITIES
See Also:
Constant Field Values

FLAG_VM_SAFE_MODE

public static final int FLAG_VM_SAFE_MODE
See Also:
Constant Field Values

FLAG_ALLOW_BACKUP

public static final int FLAG_ALLOW_BACKUP
See Also:
Constant Field Values

FLAG_KILL_AFTER_RESTORE

public static final int FLAG_KILL_AFTER_RESTORE
See Also:
Constant Field Values

FLAG_RESTORE_ANY_VERSION

public static final int FLAG_RESTORE_ANY_VERSION
See Also:
Constant Field Values

FLAG_EXTERNAL_STORAGE

public static final int FLAG_EXTERNAL_STORAGE
See Also:
Constant Field Values

FLAG_SUPPORTS_XLARGE_SCREENS

public static final int FLAG_SUPPORTS_XLARGE_SCREENS
See Also:
Constant Field Values

FLAG_LARGE_HEAP

public static final int FLAG_LARGE_HEAP
See Also:
Constant Field Values

FLAG_STOPPED

public static final int FLAG_STOPPED
See Also:
Constant Field Values

flags

public int flags

requiresSmallestWidthDp

public int requiresSmallestWidthDp

compatibleWidthLimitDp

public int compatibleWidthLimitDp

largestWidthLimitDp

public int largestWidthLimitDp

sourceDir

public String sourceDir

publicSourceDir

public String publicSourceDir

sharedLibraryFiles

public String[] sharedLibraryFiles

dataDir

public String dataDir

nativeLibraryDir

public String nativeLibraryDir

uid

public int uid

targetSdkVersion

public int targetSdkVersion

enabled

public boolean enabled

CREATOR

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

ApplicationInfo

public ApplicationInfo()

ApplicationInfo

public ApplicationInfo(ApplicationInfo orig)
Method Detail

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 PackageItemInfo

loadDescription

public CharSequence loadDescription(PackageManager pm)


Copyright © 2008-2012. All Rights Reserved.