android.content.pm.ApplicationInfo
Information you can retrieve about a particular application. This
corresponds to information collected from the AndroidManifest.xml's
<application> tag.
Nested Classes
Summary
Constants
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). |
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Constants
public
static
final
Creator
CREATOR
Fields
public
String
className
Java class implementing the Application object. From the "class"
attribute.
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. From the "icon" attribute or, if not set, 0.
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.
public
String
packageName
The package name for this application. From the <manifest>
tag's "name" attribute.
public
String
permission
Optional name of a permission required to be able to access this
application's components. From the "permission" attribute.
public
boolean
persistent
Set to true if this application is persistent. From the
"persistent" attribute or, if not set, false.
public
String
processName
The name of the process this application should run in. From the
"process" attribute or, if not set, the same as
packageName.
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. See
taskAffinity for more information. This comes
from the "taskAffinity" attribute.
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.
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).
Public Constructors
Public Methods
public
String
toString()
Answers a string containing a concise, human-readable description of the
receiver.
public
void
writeToParcel(Parcel dest)