<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="string" android:sharedUserId="string" android:sharedUserLabel="string resource" android:versionCode="integer" android:versionName="string" > . . . </manifest>
<application>
<instrumentation>
<permission>
<permission-group>
<permission-tree>
<uses-configuration>
<uses-permission>
<uses-sdk>
<application>
element
and specify xlmns:android
and package
attributes.xmlns:android
http://schemas.android.com/apk/res/android
".package
com.google.app.application_name
.
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).
android:sharedUserId
android:sharedUserLabel
This attribute was introduced in API Level 3. It is meaningful only if the
sharedUserId
attribute is also set.
android:versionCode
versionName
attribute.
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.
android:versionName
versionCode
attribute holds
the significant version number used internally.
sharedUserLabel
, which was added in
level 3.
<application>