Advertisement
Guest User

Untitled

a guest
Nov 25th, 2014
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.07 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <application xmlns="http://ns.adobe.com/air/application/15.0">
  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.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.  
  17. <!-- <id>com.tunxihuan.Ipad</id> A universally unique application identifier. Must be unique across all AIR applications.
  18. Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
  19. <id>com.tunxihuan.tunxihuanIpad</id>
  20.  
  21. <!-- Used as the filename for the application. Required. -->
  22. <filename>tunxihuanIpad</filename>
  23.  
  24. <!-- The name that is displayed in the AIR application installer.
  25. May have multiple values for each language. See samples or xsd schema file. Optional. -->
  26. <name>囤喜欢</name>
  27.  
  28. <!-- 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.
  29. Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
  30. An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
  31. <versionNumber>1.2.7</versionNumber>
  32.  
  33. <!-- 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. -->
  34. <!-- <versionLabel></versionLabel> -->
  35.  
  36. <!-- Description, displayed in the AIR application installer.
  37. May have multiple values for each language. See samples or xsd schema file. Optional. -->
  38. <!-- <description></description> -->
  39.  
  40. <!-- Copyright information. Optional -->
  41. <!-- <copyright></copyright> -->
  42.  
  43. <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
  44. <!-- <publisherID></publisherID> -->
  45.  
  46. <!-- Settings for the application's initial window. Required. -->
  47. <initialWindow>
  48. <!-- The main SWF or HTML file of the application. Required. -->
  49. <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
  50. <content>[此值将由 Flash Builder 在输出 app.xml 中覆盖]</content>
  51.  
  52. <!-- The title of the main window. Optional. -->
  53. <!-- <title></title> -->
  54.  
  55. <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
  56. <!-- <systemChrome></systemChrome> -->
  57.  
  58. <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
  59. <!-- <transparent></transparent> -->
  60.  
  61. <!-- Whether the window is initially visible. Optional. Default false. -->
  62. <!-- <visible></visible> -->
  63.  
  64. <!-- Whether the user can minimize the window. Optional. Default true. -->
  65. <!-- <minimizable></minimizable> -->
  66.  
  67. <!-- Whether the user can maximize the window. Optional. Default true. -->
  68. <!-- <maximizable></maximizable> -->
  69.  
  70. <!-- Whether the user can resize the window. Optional. Default true. -->
  71. <!-- <resizable></resizable> -->
  72.  
  73. <!-- The window's initial width in pixels. Optional. -->
  74. <!-- <width></width> -->
  75.  
  76. <!-- The window's initial height in pixels. Optional. -->
  77. <!-- <height></height> -->
  78.  
  79. <!-- The window's initial x position. Optional. -->
  80. <!-- <x></x> -->
  81.  
  82. <!-- The window's initial y position. Optional. -->
  83. <!-- <y></y> -->
  84.  
  85. <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
  86. <!-- <minSize></minSize> -->
  87.  
  88. <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
  89. <!-- <maxSize></maxSize> -->
  90. <!-- The aspect ratio of the app ("portrait" or "landscape" or "any"). Optional. Mobile only. Default is the natural orientation of the device -->
  91.  
  92. <!-- <aspectRatio>landscape</aspectRatio> -->
  93.  
  94. <!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false -->
  95.  
  96. <!-- <autoOrients></autoOrients> -->
  97.  
  98. <!-- Whether the app launches in full screen. Optional. Mobile only. Default false -->
  99.  
  100. <!-- <fullScreen>true</fullScreen> -->
  101.  
  102. <!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto -->
  103.  
  104. <!-- <renderMode></renderMode> -->
  105.  
  106. <!-- Whether the default direct mode rendering context allocates storage for depth and stencil buffers. Optional. Default false. -->
  107. <!-- <depthAndStencil></depthAndStencil> -->
  108.  
  109. <!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none"). Optional. Defaults "pan." -->
  110. <!-- <softKeyboardBehavior></softKeyboardBehavior> -->
  111. <renderMode>direct</renderMode>
  112. <autoOrients>true</autoOrients>
  113. <fullScreen>true</fullScreen>
  114. <visible>true</visible>
  115. </initialWindow>
  116.  
  117. <!-- We recommend omitting the supportedProfiles element, -->
  118. <!-- which in turn permits your application to be deployed to all -->
  119. <!-- devices supported by AIR. If you wish to restrict deployment -->
  120. <!-- (i.e., to only mobile devices) then add this element and list -->
  121. <!-- only the profiles which your application does support. -->
  122. <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
  123.  
  124. <!-- Languages supported by application -->
  125. <!-- Only these languages can be specified -->
  126. <!-- <supportedLanguages>en de cs es fr it ja ko nl pl pt ru sv tr zh</supportedLanguages> -->
  127.  
  128. <!-- The subpath of the standard default installation location to use. Optional. -->
  129. <!-- <installFolder></installFolder> -->
  130.  
  131. <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
  132. <!-- <programMenuFolder></programMenuFolder> -->
  133.  
  134. <!-- The icon the system uses for the application. For at least one resolution,
  135. specify the path to a PNG file included in the AIR package. Optional. -->
  136. <!-- <icon>
  137. <image16x16></image16x16>
  138. <image29x29></image29x29>
  139. <image32x32></image32x32>
  140. <image36x36></image36x36>
  141. <image48x48></image48x48>
  142. <image50x50></image50x50>
  143. <image57x57></image57x57>
  144. <image58x58></image58x58>
  145. <image72x72></image72x72>
  146. <image100x100></image100x100>
  147. <image114x114></image114x114>
  148. <image128x128></image128x128>
  149. <image144x144></image144x144>
  150. <image512x512></image512x512>
  151. <image1024x1024></image1024x1024>
  152.  
  153. <image48x48>/assets/img/appIcon/favologo48.png</image48x48>
  154. <image180x180>/assets/img/appIcon/logo180.png</image180x180>
  155. </icon> -->
  156. <icon>
  157. <image57x57>/assets/img/appIcon/logo57.png</image57x57>
  158. <image72x72>/assets/img/appIcon/logo72.png</image72x72>
  159. <image76x76>/assets/img/appIcon/logo76.png</image76x76>
  160. <image114x114>/assets/img/appIcon/logo114.png</image114x114>
  161. <image120x120>/assets/img/appIcon/logo120.png</image120x120>
  162. <image152x152>/assets/img/appIcon/logo152.png</image152x152>
  163. <image512x512>/assets/img/appIcon/logo512.png</image512x512>
  164. <image1024x1024>/assets/img/appIcon/logo1024.png</image1024x1024>
  165. </icon>
  166. <!-- Whether the application handles the update when a user double-clicks an update version
  167. of the AIR file (true), or the default AIR application installer handles the update (false).
  168. Optional. Default false. -->
  169. <!-- <customUpdateUI></customUpdateUI> -->
  170.  
  171. <!-- Whether the application can be launched when the user clicks a link in a web browser.
  172. Optional. Default false. -->
  173. <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
  174.  
  175. <!-- Listing of file types for which the application can register. Optional. -->
  176. <!-- <fileTypes> -->
  177.  
  178. <!-- Defines one file type. Optional. -->
  179. <!-- <fileType> -->
  180.  
  181. <!-- The name that the system displays for the registered file type. Required. -->
  182. <!-- <name></name> -->
  183.  
  184. <!-- The extension to register. Required. -->
  185. <!-- <extension></extension> -->
  186.  
  187. <!-- The description of the file type. Optional. -->
  188. <!-- <description></description> -->
  189.  
  190. <!-- The MIME content type. -->
  191. <!-- <contentType></contentType> -->
  192.  
  193. <!-- The icon to display for the file type. Optional. -->
  194. <!-- <icon>
  195. <image16x16></image16x16>
  196. <image32x32></image32x32>
  197. <image48x48></image48x48>
  198. <image128x128></image128x128>
  199. </icon> -->
  200.  
  201. <!-- </fileType> -->
  202. <!-- </fileTypes> -->
  203.  
  204. <!-- iOS specific capabilities -->
  205. <!-- <iPhone> -->
  206. <!-- A list of plist key/value pairs to be added to the application Info.plist -->
  207. <!-- <InfoAdditions>
  208. <![CDATA[
  209. <key>UIDeviceFamily</key>
  210. <array>
  211. <string>1</string>
  212. <string>2</string>
  213. </array>
  214. <key>UIStatusBarStyle</key>
  215. <string>UIStatusBarStyleBlackOpaque</string>
  216. <key>UIRequiresPersistentWiFi</key>
  217. <string>YES</string>
  218. ]]>
  219. </InfoAdditions> -->
  220. <!-- A list of plist key/value pairs to be added to the application Entitlements.plist -->
  221. <!-- <Entitlements>
  222. <![CDATA[
  223. <key>keychain-access-groups</key>
  224. <array>
  225. <string></string>
  226. <string></string>
  227. </array>
  228. ]]>
  229. </Entitlements> -->
  230. <!-- Display Resolution for the app (either "standard" or "high"). Optional. Default "standard" -->
  231. <!-- <requestedDisplayResolution></requestedDisplayResolution> -->
  232. <!-- </iPhone> -->
  233. <!-- wx021ec78360005636 -->
  234. <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
  235. <!--<android> -->
  236. <!-- <manifestAdditions>
  237. <![CDATA[
  238. <manifest android:installLocation="auto">
  239. <uses-permission android:name="android.permission.INTERNET"/>
  240. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
  241. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
  242. <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
  243. <application android:enabled="true">
  244. <activity android:excludeFromRecents="false">
  245. <intent-filter>
  246. <action android:name="android.intent.action.MAIN"/>
  247. <category android:name="android.intent.category.LAUNCHER"/>
  248. </intent-filter>
  249. </activity>
  250. </application>
  251. </manifest>
  252. ]]>
  253. </manifestAdditions> -->
  254. <!-- Color depth for the app (either "32bit" or "16bit"). Optional. Default 16bit before namespace 3.0, 32bit after -->
  255. <!-- <colorDepth></colorDepth> -->
  256. <!-- Indicates if the app contains video or not. Necessary for ordering of video planes with graphics plane, especially in Jellybean - if you app does video this must be set to true - valid values are true or false -->
  257. <!-- <containsVideo></containsVideo> -->
  258. <!-- </android> -->
  259. <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
  260.  
  261. <android>
  262. <manifestAdditions><![CDATA[
  263. <manifest android:installLocation="auto">
  264.  
  265. <!-- App receives GCM messages. -->
  266. <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
  267. <!-- Keeps the processor from sleeping when a message is received. -->
  268. <uses-permission android:name="android.permission.WAKE_LOCK" />
  269.  
  270. <permission android:name="air.com.tunxihuan.tunxihuanIpad.permission.C2D_MESSAGE" android:protectionLevel="signature" />
  271. <uses-permission android:name="air.com.tunxihuan.tunxihuanIpad.permission.C2D_MESSAGE" />
  272.  
  273. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
  274. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
  275. <uses-permission android:name="android.permission.INTERNET"/>
  276. <uses-permission android:name="android.permission.CAMERA"/>
  277. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
  278. <application android:enabled="true">
  279. <service android:name="com.afterisk.shared.android.gcm.GCMIntentService" />
  280. <receiver android:name="com.afterisk.shared.android.gcm.AfteriskGCMBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND" >
  281. <intent-filter>
  282. <action android:name="com.google.android.c2dm.intent.RECEIVE" />
  283. <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
  284. <category android:name="air.com.tunxihuan.tunxihuanIpad" />
  285. </intent-filter>
  286. </receiver>
  287. <activity android:name="com.tunxihuan.tunxihuanIpad.wxapi.WXEntryActivity"
  288. android:exported="true"
  289. android:theme="@android:style/Theme.Translucent">
  290. </activity>
  291. <activity android:excludeFromRecents="false">
  292. <intent-filter>
  293. <action android:name="android.intent.action.MAIN"/>
  294. <category android:name="android.intent.category.LAUNCHER"/>
  295. </intent-filter>
  296. </activity>
  297. </application>
  298. </manifest>
  299. ]]></manifestAdditions>
  300. <colorDepth>16bit</colorDepth>
  301. </android>
  302. <iPhone>
  303. <InfoAdditions><![CDATA[
  304. <key>UIDeviceFamily</key>
  305. <array>
  306. <string>2</string>
  307. </array>
  308. <key>CFBundleURLTypes</key>
  309. <array>
  310. <dict>
  311. <key>CFBundleURLName</key>
  312. <string>UrlWeixin</string>
  313. <key>CFBundleURLSchemes</key>
  314. <array>
  315. <string>wx9116c561805c4a65</string>
  316. </array>
  317. </dict>
  318. </array>
  319. ]]></InfoAdditions>
  320. <Entitlements>
  321. <![CDATA[
  322. <key>aps-environment</key>
  323. <string>development</string>
  324. ]]>
  325. </Entitlements>
  326. <requestedDisplayResolution>high</requestedDisplayResolution>
  327. </iPhone>
  328. <extensions>
  329. <extensionID>com.weixin.ane</extensionID>
  330. <extensionID>com.afterisk.shared.android.GCMPush</extensionID>
  331. </extensions>
  332. </application>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement