Tweaked AIR Descriptor file for Blackberry Playbook


/ Published in: XML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <application xmlns="http://ns.adobe.com/air/application/2.5">
  3.  
  4. <!-- Adobe AIR Application Descriptor File Template.
  5.  
  6. Specifies parameters for identifying, installing, and launching AIR applications.
  7.  
  8. xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.5
  9. The last segment of the namespace specifies the version
  10. of the AIR runtime required for this application to run.
  11.  
  12. minimumPatchLevel - The minimum patch level of the AIR runtime required to run
  13. the application. Optional.
  14. -->
  15.  
  16. <!-- A universally unique application identifier. Must be unique across all AIR applications.
  17. Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
  18. <id>com.chrisaiv.NameOfApp</id>
  19.  
  20. <!-- Used as the filename for the application. Required. -->
  21. <filename>NameOfApp</filename>
  22.  
  23. <!-- The name that is displayed in the AIR application installer.
  24. May have multiple values for each language. See samples or xsd schema file. Optional. -->
  25. <name>NameOfApp</name>
  26.  
  27. <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
  28. Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
  29. An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
  30. <versionNumber>1.0.0</versionNumber>
  31.  
  32. <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
  33. <!-- <versionLabel></versionLabel> -->
  34.  
  35. <!-- Description, displayed in the AIR application installer.
  36. May have multiple values for each language. See samples or xsd schema file. Optional. -->
  37. <!-- <description></description> -->
  38.  
  39. <!-- Copyright information. Optional -->
  40. <!-- <copyright></copyright> -->
  41.  
  42. <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
  43. <!-- <publisherID></publisherID> -->
  44.  
  45. <!-- Settings for the application's initial window. Required. -->
  46. <initialWindow>
  47. <!-- The main SWF or HTML file of the application. Required. -->
  48. <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
  49. <content>NameOfApp.swf</content>
  50.  
  51. <!-- The title of the main window. Optional. -->
  52. <!-- <title></title> -->
  53.  
  54. <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
  55. <!-- <systemChrome></systemChrome> -->
  56.  
  57. <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
  58. <!-- <transparent></transparent> -->
  59.  
  60. <!-- Whether the window is initially visible. Optional. Default false. -->
  61. <!-- <visible></visible> -->
  62.  
  63. <!-- Whether the user can minimize the window. Optional. Default true. -->
  64. <!-- <minimizable></minimizable> -->
  65.  
  66. <!-- Whether the user can maximize the window. Optional. Default true. -->
  67. <!-- <maximizable></maximizable> -->
  68.  
  69. <!-- Whether the user can resize the window. Optional. Default true. -->
  70. <!-- <resizable></resizable> -->
  71.  
  72. <!-- The window's initial width in pixels. Optional. -->
  73. <!-- <width></width> -->
  74.  
  75. <!-- The window's initial height in pixels. Optional. -->
  76. <!-- <height></height> -->
  77.  
  78. <!-- The window's initial x position. Optional. -->
  79. <!-- <x></x> -->
  80.  
  81. <!-- The window's initial y position. Optional. -->
  82. <!-- <y></y> -->
  83.  
  84. <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
  85. <!-- <minSize></minSize> -->
  86.  
  87. <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
  88. <!-- <maxSize></maxSize> -->
  89. <autoOrients>false</autoOrients>
  90. <fullScreen>false</fullScreen>
  91. <visible>true</visible>
  92. </initialWindow>
  93.  
  94. <!-- We recommend omitting the supportedProfiles element, -->
  95. <!-- which in turn permits your application to be deployed to all -->
  96. <!-- devices supported by AIR. If you wish to restrict deployment -->
  97. <!-- (i.e., to only mobile devices) then add this element and list -->
  98. <!-- only the profiles which your application does support. -->
  99. <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
  100.  
  101. <!-- The subpath of the standard default installation location to use. Optional. -->
  102. <!-- <installFolder></installFolder> -->
  103.  
  104. <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
  105. <!-- <programMenuFolder></programMenuFolder> -->
  106.  
  107. <!-- The icon the system uses for the application. For at least one resolution,
  108. specify the path to a PNG file included in the AIR package. Optional. -->
  109. <!-- <icon>
  110. <image16x16></image16x16>
  111. <image32x32></image32x32>
  112. <image36x36></image36x36>
  113. <image48x48></image48x48>
  114. <image72x72></image72x72>
  115. <image128x128></image128x128>
  116. </icon> -->
  117. <icon>
  118. <image72x72>icons/72x72.png</image72x72>
  119. <image16x16>icons/16x16.png</image16x16>
  120. <image32x32>icons/32x32.png</image32x32>
  121. <image36x36>icons/36x36.png</image36x36>
  122. <image48x48>icons/48x48.png</image48x48>
  123. <image128x128>icons/128x128.png</image128x128>
  124. </icon>
  125.  
  126. <!-- Whether the application handles the update when a user double-clicks an update version
  127. of the AIR file (true), or the default AIR application installer handles the update (false).
  128. Optional. Default false. -->
  129. <!-- <customUpdateUI></customUpdateUI> -->
  130.  
  131. <!-- Whether the application can be launched when the user clicks a link in a web browser.
  132. Optional. Default false. -->
  133. <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
  134.  
  135. <!-- Listing of file types for which the application can register. Optional. -->
  136. <!-- <fileTypes> -->
  137.  
  138. <!-- Defines one file type. Optional. -->
  139. <!-- <fileType> -->
  140.  
  141. <!-- The name that the system displays for the registered file type. Required. -->
  142. <!-- <name></name> -->
  143.  
  144. <!-- The extension to register. Required. -->
  145. <!-- <extension></extension> -->
  146.  
  147. <!-- The description of the file type. Optional. -->
  148. <!-- <description></description> -->
  149.  
  150. <!-- The MIME content type. -->
  151. <!-- <contentType></contentType> -->
  152.  
  153. <!-- The icon to display for the file type. Optional. -->
  154. <!-- <icon>
  155. <image16x16></image16x16>
  156. <image32x32></image32x32>
  157. <image48x48></image48x48>
  158. <image128x128></image128x128>
  159. </icon> -->
  160.  
  161. <!-- </fileType> -->
  162. <!-- </fileTypes> -->
  163.  
  164. <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
  165. <!--<android>
  166. <manifestAdditions>
  167. <![CDATA[
  168. <manifest android:installLocation="auto">
  169. <uses-permission android:name="android.permission.INTERNET"/>
  170. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
  171. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
  172. <uses-configuration android:reqFiveWayNav="true"/>
  173. <supports-screens android:normalScreens="true"/>
  174. <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
  175. <application android:enabled="true">
  176. <activity android:excludeFromRecents="false">
  177. <intent-filter>
  178. <action android:name="android.intent.action.MAIN"/>
  179. <category android:name="android.intent.category.LAUNCHER"/>
  180. </intent-filter>
  181. </activity>
  182. </application>
  183. </manifest>
  184. ]]>
  185. </manifestAdditions>
  186. </android> -->
  187. <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
  188.  
  189. <android>
  190. <manifestAdditions><![CDATA[
  191. <manifest>
  192. <!-- See the Adobe AIR documentation for more information about setting Google Android permissions -->
  193. <uses-permission android:name="android.permission.INTERNET"/>
  194. </manifest>
  195. ]]></manifestAdditions>
  196. </android>
  197. </application>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.