From c861a5d24ed847b58d197109d79a4d26572b7cf2 Mon Sep 17 00:00:00 2001
From: Scott Main
-The package name serves as a unique identifier for the application.
-It's also the default name for the application process (see the
-
+ attribute) and the default task affinity of an activity
-(see the
-
com.google.app.application_name.
-<application>
-element's
-process
-process<activity>
-element's
-taskAffinity attribute).
-
+ The package name serves as a unique identifier for the application.
+ It's also the default name for the application process (see the
+ <application>
+ element's
+ process
+ process attribute) and the default task affinity of an activity
+ (see the
+ <activity>
+ element's
+ taskAffinity attribute).
+
-
-This attribute was introduced in API Level 3. It is meaningful only if the
-sharedUserId attribute is also set.
-
+
+ This attribute was introduced in API Level 3. It is meaningful only if the
+ sharedUserId attribute is also set.
+
-The value must be set as an integer, such as "100". You can define it however -you want, as long as each successive version has a higher number. For example, -it could be a build number. Or you could translate a version number in "x.y" -format to an integer by encoding the "x" and "y" separately in the lower and -upper 16 bits. Or you could simply increase the number by one each time a new -version is released. -
+ The value must be set as an integer, such as "100". You can define it however + you want, as long as each successive version has a higher number. For example, + it could be a build number. Or you could translate a version number in "x.y" + format to an integer by encoding the "x" and "y" separately in the lower and + upper 16 bits. Or you could simply increase the number by one each time a new + version is released. +
+This attribute was introduced in API Level 8.
+ +The following keyword strings are accepted:
+ +| Value | +Description | +
|---|---|
| "{@code auto}" | +Let the system decide the ideal install location. This will usually be based on the user's +saved preference. | +
| "{@code internalOnly}" | +Request to be installed only on the internal device storage. If this is set, then +the application will never be installed on the external storage (SD card). If the internal storage +is full, then the application will not install. | +
| "{@code preferExternal}" | +Prefer to be installed on external storage (SD card). There is no guarantee that the system +will honor this request. The application might be installed on internal storage if the +external media is unavailable or full, or if the application uses the forward-locking mechanism +(not supported on external storage). | +
When an application is installed on the external storage:
+The user may also request to move an application from the internal storage to the external +storage. However, this will not be allowed if this attribute is set to {@code internalOnly}. +
+ +