Choosing the Application Settings


The application descriptor contains application settings, and should look similar to the following code. Note the required or optional annotation, and default, for each setting.

Here are the required tags:

<application xmlns=>
// Last segment specifies the version of AIR required
// Universally unique identifier.
// Android converts ID to a package name by adding
// “air.” to the beginning.
// Hyphens are converted to underscore
// and digits are preceded by a capital A.
// name used for the APK package file
// contains three integers, up to three digits each
// properties of initial appearance of the application
// root swf
// application takes over the whole screen if true
// portrait (default) or landscape
// true (default) or false
// cpu (default) or gpu

The following tags are optional. They are child nodes of the application tag:

<name>Hello World</name>
// or localized
<text xml:lang=”en”>English name</text>
<text xml:lang=”fr”>nom français</text>
// name as it appears on device. Keep it short
<versionLabel>1.0.0</ versionLabel >
// Displayed in installation dialog
<text xml:lang=”en”>English description</text>
<text xml:lang=”fr”>Description française</text>
// Update handled by user on double-click or automatic
// can be launched from link in a browser
<uses-permission android:name=”android.permission.CAMERA”/>
<uses-permission android:name=”android.permission.INTERNET”/>
// Add all permissions as children of manifest tag
<supports-screens android:normalScreens=”true”/>
<uses-feature android:required=”true”
<application android:enabled=”true”>
<activity android:excludeFromRecents=”false”>