<manifest>

syntax:
<manifest xmlns:mindroid="http://schemas.esrlabs.com/mindroid"
          package="string"
          mindroid:versionCode="integer"
          mindroid:versionName="string" >
    . . .
</manifest>

contained in:
none

must contain:
<application>

description:
The root element of the MindroidManifest.xml file. It must contain an <application> element and specify xmlns:mindroid and package attributes.
attributes:
xmlns:mindroid
Defines the Mindroid namespace. This attribute should always be set to "http://schemas.esrlabs.com.com/mindroid".
package
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.example namespace when publishing your applications.

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).

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.

mindroid:versionCode
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 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.

mindroid:versionName
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 versionCode attribute holds the significant version number used internally.

see also:
<application>