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.Creator<T>
 
Field Summary
 java.lang.String className
           
static Parcelable.Creator<ApplicationInfo> CREATOR
           
 java.lang.String dataDir
           
 int descriptionRes
           
 boolean enabled
           
static int FLAG_ALLOW_CLEAR_USER_DATA
           
static int FLAG_ALLOW_TASK_REPARENTING
           
static int FLAG_DEBUGGABLE
           
static int FLAG_FACTORY_TEST
           
static int FLAG_HAS_CODE
           
static int FLAG_PERSISTENT
           
static int FLAG_RESIZEABLE_FOR_SCREENS
           
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_SYSTEM
           
static int FLAG_TEST_ONLY
           
static int FLAG_UPDATED_SYSTEM_APP
           
 int flags
           
 java.lang.String manageSpaceActivityName
           
 java.lang.String permission
           
 java.lang.String processName
           
 java.lang.String publicSourceDir
           
 java.lang.String[] sharedLibraryFiles
           
 java.lang.String sourceDir
           
 int targetSdkVersion
           
 java.lang.String taskAffinity
           
 int theme
           
 int uid
           
 
Fields inherited from class android.content.pm.PackageItemInfo
icon, labelRes, 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, java.lang.String prefix)
           
 java.lang.CharSequence loadDescription(PackageManager pm)
           
 java.lang.String toString()
           
 void writeToParcel(Parcel dest, int parcelableFlags)
           
 
Methods inherited from class android.content.pm.PackageItemInfo
dumpBack, dumpFront, loadIcon, loadLabel, loadXmlMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

taskAffinity

public java.lang.String taskAffinity

permission

public java.lang.String permission

processName

public java.lang.String processName

className

public java.lang.String className

descriptionRes

public int descriptionRes

theme

public int theme

manageSpaceActivityName

public java.lang.String manageSpaceActivityName

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

flags

public int flags

sourceDir

public java.lang.String sourceDir

publicSourceDir

public java.lang.String publicSourceDir

sharedLibraryFiles

public java.lang.String[] sharedLibraryFiles

dataDir

public java.lang.String dataDir

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,
                 java.lang.String prefix)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.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 java.lang.CharSequence loadDescription(PackageManager pm)


Copyright © 2008-2010. All Rights Reserved.