Advertisement
Guest User

VOSE-app.xml

a guest
Nov 23rd, 2013
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.34 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <application xmlns="http://ns.adobe.com/air/application/3.1">
  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/3.0
  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.     <!-- A universally unique application identifier. Must be unique across all AIR applications.
  16.     Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
  17.     <id>fr.stevecohen34.vose</id>
  18.  
  19.     <!-- Used as the filename for the application. Required. -->
  20.     <filename>VOSE</filename>
  21.  
  22.     <!-- The name that is displayed in the AIR application installer.
  23.     May have multiple values for each language. See samples or xsd schema file. Optional. -->
  24.     <name>VOSE</name>
  25.    
  26.     <!-- 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.
  27.     Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
  28.     An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
  29.     <versionNumber>1.0</versionNumber>
  30.                  
  31.     <!-- 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. -->
  32.     <versionLabel>1.0</versionLabel>
  33.  
  34.     <!-- Description, displayed in the AIR application installer.
  35.     May have multiple values for each language. See samples or xsd schema file. Optional. -->
  36.     <description>VOSE APP</description>
  37.  
  38.     <!-- Copyright information. Optional -->
  39.     <copyright>2013 VOSE Inc</copyright>
  40.  
  41.     <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
  42.     <!-- <publisherID></publisherID> -->
  43.  
  44.     <!-- Settings for the application's initial window. Required. -->
  45.     <initialWindow>
  46.         <!-- The main SWF or HTML file of the application. Required. -->
  47.         <content>[Cette valeur sera remplacée par Flash Builder dans le
  48.             fichier app.xml de sortie]</content>
  49.        
  50.         <!-- The title of the main window. Optional. -->
  51.         <title>VOSE</title>
  52.  
  53.         <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
  54.         <!-- <systemChrome></systemChrome> -->
  55.  
  56.         <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
  57.         <!-- <transparent></transparent> -->
  58.  
  59.         <!-- Whether the window is initially visible. Optional. Default false. -->
  60.         <visible>true</visible>
  61.  
  62.         <!-- Whether the user can minimize the window. Optional. Default true. -->
  63.         <!-- <minimizable></minimizable> -->
  64.  
  65.         <!-- Whether the user can maximize the window. Optional. Default true. -->
  66.         <!-- <maximizable></maximizable> -->
  67.  
  68.         <!-- Whether the user can resize the window. Optional. Default true. -->
  69.         <!-- <resizable></resizable> -->
  70.  
  71.         <!-- The window's initial width in pixels. Optional. -->
  72.         <width>480</width>
  73.  
  74.         <!-- The window's initial height in pixels. Optional. -->
  75.         <height>800</height>
  76.  
  77.         <!-- The window's initial x position. Optional. -->
  78.         <!-- <x></x> -->
  79.  
  80.         <!-- The window's initial y position. Optional. -->
  81.         <!-- <y></y> -->
  82.  
  83.         <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
  84.         <!-- <minSize></minSize> -->
  85.  
  86.         <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
  87.         <!-- <maxSize></maxSize> -->
  88.  
  89.         <!-- The initial aspect ratio of the app when launched (either "portrait" or "landscape"). Optional. Mobile only. Default is the natural orientation of the device -->
  90.         <aspectRatio>portrait</aspectRatio>
  91.  
  92.         <!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false -->
  93.         <autoOrients>false</autoOrients>
  94.  
  95.         <!-- Whether the app launches in full screen. Optional. Mobile only. Default false -->
  96.         <fullScreen>false</fullScreen>
  97.  
  98.         <!-- The render mode for the app (either auto, cpu, or gpu). Optional. Mobile only. Default auto -->
  99.         <!--<renderMode>gpu</renderMode>-->
  100.  
  101.         <!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none").  Optional.  Defaults "pan." -->
  102.         <softKeyboardBehavior>none</softKeyboardBehavior>
  103.     </initialWindow>
  104.  
  105.     <!-- We recommend omitting the supportedProfiles element, -->
  106.     <!-- which in turn permits your application to be deployed to all -->
  107.     <!-- devices supported by AIR. If you wish to restrict deployment -->
  108.     <!-- (i.e., to only mobile devices) then add this element and list -->
  109.     <!-- only the profiles which your application does support. -->
  110.     <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
  111.  
  112.     <!-- The subpath of the standard default installation location to use. Optional. -->
  113.     <!-- <installFolder></installFolder> -->
  114.  
  115.     <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
  116.     <!-- <programMenuFolder></programMenuFolder> -->
  117.  
  118.     <!-- The icon the system uses for the application. For at least one resolution,
  119.     specify the path to a PNG file included in the AIR package. Optional. -->
  120.  
  121.     <icon>
  122.         <image16x16>icon/icon16.png</image16x16>
  123.         <image32x32>icon/icon32.png</image32x32>
  124.         <image36x36>icon/icon36.png</image36x36>
  125.         <image48x48>icon/icon48.png</image48x48>
  126.         <image57x57>icon/icon57.png</image57x57>
  127.         <image72x72>icon/icon72.png</image72x72>
  128.         <image114x114>icon/icon114.png</image114x114>
  129.         <image128x128>icon/icon128.png</image128x128>
  130.     </icon>
  131.  
  132.     <!-- Whether the application handles the update when a user double-clicks an update version
  133.     of the AIR file (true), or the default AIR application installer handles the update (false).
  134.     Optional. Default false. -->
  135.     <!-- <customUpdateUI></customUpdateUI> -->
  136.    
  137.     <!-- Whether the application can be launched when the user clicks a link in a web browser.
  138.     Optional. Default false. -->
  139.     <allowBrowserInvocation>true</allowBrowserInvocation>
  140.  
  141.     <!-- Listing of file types for which the application can register. Optional. -->
  142.     <!-- <fileTypes> -->
  143.  
  144.         <!-- Defines one file type. Optional. -->
  145.         <!-- <fileType> -->
  146.  
  147.             <!-- The name that the system displays for the registered file type. Required. -->
  148.             <!-- <name></name> -->
  149.  
  150.             <!-- The extension to register. Required. -->
  151.             <!-- <extension></extension> -->
  152.            
  153.             <!-- The description of the file type. Optional. -->
  154.             <!-- <description></description> -->
  155.            
  156.             <!-- The MIME content type. -->
  157.             <!-- <contentType></contentType> -->
  158.            
  159.             <!-- The icon to display for the file type. Optional. -->
  160.             <!-- <icon>
  161.                 <image16x16></image16x16>
  162.                 <image32x32></image32x32>
  163.                 <image48x48></image48x48>
  164.                 <image128x128></image128x128>
  165.             </icon> -->
  166.            
  167.         <!-- </fileType> -->
  168.     <!-- </fileTypes> -->
  169.  
  170.     <extensions>
  171.         <extensionID>com.afterisk.shared.android.GCMPush</extensionID>
  172.     </extensions>
  173.    
  174.     <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
  175.     <android>
  176.         <manifestAdditions>
  177.         <![CDATA[
  178.             <manifest android:installLocation="auto">
  179.                 <!-- App receives GCM messages. -->
  180.                 <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
  181.                 <!-- GCM connects to Google Services. -->
  182.                 <uses-permission android:name="android.permission.INTERNET" />
  183.                 <!-- GCM requires a Google account. -->
  184.                 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
  185.                 <!-- Keeps the processor from sleeping when a message is received. -->
  186.                 <uses-permission android:name="android.permission.WAKE_LOCK" />
  187.  
  188.                 <permission android:name="air.fr.stevecohen34.vose.debug.permission.C2D_MESSAGE" android:protectionLevel="signature" />
  189.                 <uses-permission android:name="air.fr.stevecohen34.vose.debug.permission.C2D_MESSAGE" />
  190.  
  191.                 <supports-screens android:normalScreens="true"/>
  192.                 <supports-screens android:largeScreens="true"/>
  193.                 <supports-screens android:xlargeScreens="true"/>
  194.  
  195.                 <uses-feature android:required="false" android:name="android.hardware.wifi"/>
  196.  
  197.                <application android:enabled="true" android:hardwareAccelerated="true">
  198.  
  199.                     <service android:name="com.afterisk.shared.android.gcm.GCMIntentService" />
  200.                     <receiver android:name="com.afterisk.shared.android.gcm.AfteriskGCMBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND" >
  201.                         <intent-filter>
  202.                             <action android:name="com.google.android.c2dm.intent.RECEIVE" />
  203.                             <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
  204.                             <category android:name="air.fr.stevecohen34.vose.debug" />
  205.                         </intent-filter>
  206.                     </receiver>
  207.  
  208.                     <activity android:excludeFromRecents="false">
  209.                         <intent-filter>
  210.                             <action android:name="android.intent.action.MAIN"/>
  211.                             <category android:name="android.intent.category.LAUNCHER"/>
  212.                         </intent-filter>
  213.                     </activity>
  214.                 </application>
  215.             </manifest>
  216.         ]]>
  217.         </manifestAdditions>
  218.     </android>
  219.     <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
  220. </application>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement