<manifest xmlns:mindroid="http://schemas.esrlabs.com/mindroid" package="string" mindroid:versionCode="integer" mindroid:versionName="string" > . . . </manifest>
- contained in:
- must contain:
- The root element of the MindroidManifest.xml file. It must
<application>element and specify
- Defines the Mindroid namespace. This attribute should always be set
- A full Java-language-style package name for the application. The name should
be unique. The name may contain uppercase or lowercase letters ('A'
through 'Z'), numbers, and underscores ('_'). However, individual
package name parts may only start with letters.
To avoid conflicts with other developers, you should use Internet domain ownership as the basis for your package names (in reverse). For example, applications published by E.S.R.Labs start with
com.esrlabs. You should also never use the
com.examplenamespace when publishing your applications.
Caution: Once you publish your application, you cannot change the package name. The package name defines your application's identity, so if you change it, then it is considered to be a different application and users of the previous version cannot update to the new version.
- An internal version number. This number is used only to determine whether
one version is more recent than another, with higher numbers indicating more
recent versions. This is not the version number shown to users; that number
is set by the
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 version number shown to users. This attribute can be set as a raw
string or as a reference to a string resource. The string has no other purpose
than to be displayed to users. The
versionCodeattribute holds the significant version number used internally.
- see also: