Reference:Android.content.pm.ApplicationInfo

From Triled Wiki

Jump to: navigation, search


android.content.pm
public class android.content.pm.ApplicationInfo

java.lang.Object
android.content.pm.ApplicationInfo Parcelable
Information you can retrieve about a particular application. This corresponds to information collected from the AndroidManifest.xml's <application> tag.

Contents

[edit] Nested Classes
ApplicationInfo.DisplayNameComparator  

[edit] Summary

[edit] Constants

      Value  
Creator   CREATOR        

[edit] Fields

public      String   className   Java class implementing the Application object.  
public      String   dataDir   Full path to a directory assigned to the package for its persistent data.  
public      boolean  enabled   When false, indicates that all components within this appication are considered disabled, regardless of their individually set enabled status.  
public      int  gid   The kernel group-ID that has been assigned to this application.  
public      int  icon   A drawable resource identifier (in the package's resources) of this application's icon.  
public      int  labelRes   A string resource identifier (in the package's resources) of this application's label.  
public      CharSequence   nonLocalizedLabel   The string provided in the AndroidManifest file, if any.  
public      String   packageName   The package name for this application.  
public      String   permission   Optional name of a permission required to be able to access this application's components.  
public      boolean  persistent   Set to true if this application is persistent.  
public      String   processName   The name of the process this application should run in.  
public      String   sourceDir   Full path to the location of this package.  
public      boolean  system   Set to true if this application is installed in the device's system image.  
public      String   taskAffinity   Default task affinity of all activities in this application.  
public      int  theme   A style resource identifier (in the package's resources) of the default visual theme of the application.  
public      int  uid   The kernel user-ID that has been assigned to this application; currently this is not a unique ID (multiple applications can have the same uid).  

[edit] Public Constructors

          ApplicationInfo ()

[edit] Public Methods

        void  dump (Printer pw, String prefix)
        String   toString ()
Answers a string containing a concise, human-readable description of the receiver.
        void  writeToParcel (Parcel dest)

[edit] Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
[edit] Methods inherited from interface android.os.Parcelable

writeToParcel

[edit] Details

[edit] Constants

[edit] public static final Creator CREATOR

[edit] Fields

[edit] public String className

Java class implementing the Application object. From the "class" attribute.

[edit] public String dataDir

Full path to a directory assigned to the package for its persistent data.

[edit] public boolean enabled

When false, indicates that all components within this appication are considered disabled, regardless of their individually set enabled status.

[edit] public int gid

The kernel group-ID that has been assigned to this application.

[edit] public int icon

A drawable resource identifier (in the package's resources) of this application's icon. From the "icon" attribute or, if not set, 0.

[edit] public int labelRes

A string resource identifier (in the package's resources) of this application's label. From the "label" attribute or, if not set, 0.

[edit] public CharSequence nonLocalizedLabel

The string provided in the AndroidManifest file, if any. You probably don't want to use this. You probably want getApplicationLabel(ApplicationInfo)

[edit] public String packageName

The package name for this application. From the <manifest> tag's "name" attribute.

[edit] public String permission

Optional name of a permission required to be able to access this application's components. From the "permission" attribute.

[edit] public boolean persistent

Set to true if this application is persistent. From the "persistent" attribute or, if not set, false.

[edit] public String processName

The name of the process this application should run in. From the "process" attribute or, if not set, the same aspackageName.

[edit] public String sourceDir

Full path to the location of this package.

[edit] public boolean system

Set to true if this application is installed in the device's system image.

[edit] public String taskAffinity

Default task affinity of all activities in this application. See taskAffinity for more information. This comes from the "taskAffinity" attribute.

[edit] public int theme

A style resource identifier (in the package's resources) of the default visual theme of the application. From the "theme" attribute or, if not set, 0.

[edit] public int uid

The kernel user-ID that has been assigned to this application; currently this is not a unique ID (multiple applications can have the same uid).

[edit] Public Constructors

[edit] public ApplicationInfo()

[edit] Public Methods

[edit] public void dump(Printer pw, String prefix)

[edit] public String toString()

Answers a string containing a concise, human-readable description of the receiver.

[edit] public void writeToParcel(Parcel dest)

[edit] References

Personal tools