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=http://ns.adobe.com/air/application/2.6>
// Last segment specifies the version of AIR required
<id>com.veronique.MyApplication</id>
// 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.
<filename>MyApplication</filename>
// name used for the APK package file
<versionNumber>1.0.0</versionNumber>
// contains three integers, up to three digits each
<initialWindow>
// properties of initial appearance of the application
<content>Main.swf</content>
// root swf
<fullScreen>false</fullScreen>
// application takes over the whole screen if true
<aspectRatio>portrait</aspectRatio>
// portrait (default) or landscape
<autoOrients>false</autoOrients>
// true (default) or false
<visible>true</visible>
<renderMode>cpu</renderMode>
// cpu (default) or gpu
</initialWindow>
</application>
The following tags are optional. They are child nodes of the application tag:
<name>Hello World</name>
// or localized
<name>
<text xml:lang=”en”>English name</text>
<text xml:lang=”fr”>nom français</text>
</name>
// name as it appears on device. Keep it short
<versionLabel>1.0.0</ versionLabel >
// Displayed in installation dialog
<description>
<text xml:lang=”en”>English description</text>
<text xml:lang=”fr”>Description française</text>
</description>
<copyright></copyright>
<icon>
<image36x36>icons/36.png</image36x36>
<image48x48>icons/48.png</image48x48>
<image72x72>icons/72.png</image72x72>
</icon>
<customUpdateUI>false</customUpdateUI>
// Update handled by user on double-click or automatic
<allowBrowserInvocation>false</allowBrowserInvocation>
// can be launched from link in a browser
<android>
<manifestAdditions>
<![CDATA[
<manifest>
<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”
android:name=”android.hardware.touchscreen.multitouch”/>
<application android:enabled=”true”>
<activity android:excludeFromRecents=”false”>
<intent-filter>
<action
android:name=”android.intent.action.MAIN”/>
<category
android:name=
“android.intent.category.LAUNCHER”/>
</intent-filter>
</activity>
</application>
</manifest>
]]></manifestAdditions>
</android>