Flex4.5中air桌面应用 app.xml 配置文件中文注释
<?xml version="1.0" encoding="utf-8" standalone="no"?><application xmlns="http://ns.adobe.com/air/application/2.6"><!-- Adobe AIR Application Descriptor File Template.//adobe AIR 应用描述文件模板Specifies parameters for identifying, installing, and launching AIR applications.//对于AIR应用指定的识别、安装、运行参数xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.6The last segment of the namespace specifies the version of the AIR runtime required for this application to run.//最后一段指定的命名空间的最后一段的版本指定的版本命名空间空气运行时需要这应用程序才能运行。minimumPatchLevel - The minimum patch level of the AIR runtime required to run the application. //最低配置运行AIR应用必须的应用。Optional.--><!-- A universally unique application identifier. //这是一条普遍独特的应用标识符。Must be unique across all AIR applications.//必须唯一存在的AIR应用Using a reverse DNS-style name as the id is recommended. //使用一个反向的名字DNS-style id是被推荐的。(Eg. com.example.ExampleApplication.) Required. --><id>AIRHelloWorld</id><!-- Used as the filename for the application. Required. -->//这个应用的文件名<filename>AIRHelloWorld</filename><!-- The name that is displayed in the AIR application installer. //这个名字是显示AIR应用的安装名May have multiple values for each language. //可能有多个值的每一种语言。See samples or xsd schema file. Optional.//看到样品或者xsd模式文件。 --><name>AIRHelloWorld</name><!-- 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. //一个字符串值的格式< 0-999 > . < 0-999 > . < 0-999 >,代表应用的版本这可以用来检查应用程序升级的。Values can also be 1-part or 2-part. //值也可以是1-part or 2-partIt is not necessary to have a 3-part value.//但是没有必要是一个3-partAn updated version of application must have a versionNumber value higher than the previous version. //新版本的应用程序必须有一个版本号高于前的版本。Required for namespace >= 2.5 . --><versionNumber>0.0.0</versionNumber> <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, //一个字符串的值 如:"v1", "2.5", or "Alpha 1as it should be shown to users. Optional.//因为它将显示给用户--><!-- <versionLabel></versionLabel> --><!-- Description, displayed in the AIR application installer.//AIR应用申请安装的描述May have multiple values for each language. See samples or xsd schema file. Optional. //可能有多个值的每一种语言。看到样品或者xsd模式文件。可选的。--><!-- <description></description> --><!-- Copyright information. Optional //版权信息--><!-- <copyright></copyright> --><!-- Publisher ID. Used if you're updating an application created prior to 1.5.3//出版商的ID。如果你使用一个创建的应用程序更新1.5.3之前--><!-- <publisherID></publisherID> --><!-- Settings for the application's initial window. Required. //设置应用程序的初始窗口--><initialWindow><!-- The main SWF or HTML file of the application. Required. //主要的SWF或HTML文件的应用程序--><!-- Note: In Flash Builder, the SWF reference is set automatically. --><content>[此值将由 Flash Builder 在输出 app.xml 中覆盖]</content><!-- The title of the main window. Optional. //主窗口的标题。--><!-- <title></title> --><!-- The type of system chrome to use (either "standard" or "none"). //系统的类型使用Optional. Default standard. --><systemChrome>none</systemChrome><!-- Whether the window is transparent. //窗口是否透明Only applicable when systemChrome is none. //只有应用在系统类型为无Optional. Default false. --><transparent>true</transparent> <!-- Whether the window is initially visible.//窗口初始化是否可见 Optional. Default false. --><!-- <visible></visible> --><!-- Whether the user can minimize the window. //用户是否可以最小化窗口Optional. Default true. --><minimizable>true</minimizable><!-- Whether the user can maximize the window. //用户是否可以最大化窗口Optional. Default true. --><maximizable>false</maximizable> <!-- Whether the user can resize the window. //用户是否能调整窗口大小Optional. Default true. --><resizable>false</resizable> <!-- The window's initial width in pixels. //窗口的初始宽度以像素为单位Optional. --><width>1024</width><!-- The window's initial height in pixels.////窗口的初始高度以像素为单位Optional. --><height>668</height><!-- The window's initial x position. //最初的x窗口的位置Optional. --><x>150</x><!-- The window's initial y position. //最初的y窗口的位置Optional. --><y>50</y> <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". //窗口的最小尺寸,指定为像素宽度/高度,如“400 200”。Optional. --><!-- <minSize></minSize> --><!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". 窗口的最大尺寸,指定为像素宽度/高度,如“1600 1200”。Optional. --><!-- <maxSize></maxSize> --> <!-- The initial aspect ratio of the app when launched (either "portrait" or "landscape"). //安装完成后最初的屏幕横纵(横或者纵) Optional. Mobile only. //只有在移动设备上 Default is the natural orientation of the device //默认是自然的--><!-- <aspectRatio></aspectRatio> --> <!-- Whether the app will begin auto-orienting on launch. Optional. //在安装完成后这个应用是否确定方向 Mobile only. Default false --><!-- <autoOrients></autoOrients> --> <!-- Whether the app launches in full screen. //这个应用程序是否展开全屏。 Optional. Mobile only. Default false --><!-- <fullScreen></fullScreen> --> <!-- The render mode for the app (either auto, cpu, or gpu). //渲染模式应用程序 Optional. Mobile only. Default auto --><!-- <renderMode></renderMode> --><!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none"). //是的安装软键盘Optional. Defaults "pan." --><!-- <softKeyboardBehavior></softKeyboardBehavior> --><!-- //指定舞台是否应随着用户旋转设备或做出与方向相关的其他手势(如打开或关闭滑动键盘)而自动改变方 --><autoOrients>false</autoOrients><fullScreen>false</fullScreen> <visible>false</visible> </initialWindow><!-- We recommend omitting the supportedProfiles element, //我们建议不放弃自己的应得supportedProfiles元素,--><!-- which in turn permits your application to be deployed to all//从而允许你申请被部署到 --><!-- devices supported by AIR. //支持所有的AIRIf you wish to restrict deployment //如果你希望限制部署--><!-- (i.e., to only mobile devices) then add this element and list //(即只移动设备),然后把这个元素和清单--><!-- only the profiles which your application does support. //你只有型材应用程序的支持。--><!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> --><!-- The subpath of the standard default installation location to use. Optional. //默认安装的路径--><!-- <installFolder></installFolder> --><!-- The subpath of the Programs menu to use. //项目菜单的路径(Ignored on operating systems without a Programs menu.)//在操作系统而忽视程序的菜单。Optional. --><!-- <programMenuFolder></programMenuFolder> --><!-- The icon the system uses for the application. //系统使用的图标For at least one resolution,//至少使用一个选项specify the path to a PNG file included in the AIR package. //指定一条PNG文件。Optional. --><!-- <icon><image16x16></image16x16><image32x32></image32x32><image36x36></image36x36><image48x48></image48x48><image72x72></image72x72><image114x114></image114x114><image128x128></image128x128></icon> --><!-- Whether the application handles the update when a user double-clicks an update versionof the AIR file (true), //应用程序的处理是否更新当一个用户double-clicks一个更新的版本AIR文件,or the default AIR application installer handles the update (false).//应用程序安装程序或默认的AIR处理更新Optional. Default false. --><!-- <customUpdateUI></customUpdateUI> --><!-- Whether the application can be launched when the user clicks a link in a web browser.//应用程序是否可以安装,当用户点击一个链接在一个浏览器上Optional. Default false. --><!-- <allowBrowserInvocation></allowBrowserInvocation> --><!-- Listing of file types for which the application can register.//上市的文件类型的应用程序可以登记Optional. --><!-- <fileTypes> --><!-- Defines one file type. //定义一个文件类型Optional. --><!-- <fileType> --><!-- The name that the system displays for the registered file type. //这个名字,该系统表现为注册的文件类型Required. --><!-- <name></name> --><!-- The extension to register. Required. --><!-- <extension></extension> --><!-- The description of the file type. //他扩展登记。Optional. --><!-- <description></description> --><!-- The MIME content type.//MIME内容类型的--><!-- <contentType></contentType> --><!-- The icon to display for the file type.//图标显示的文件类型。Optional. --><!-- <icon><image16x16></image16x16><image32x32></image32x32><image48x48></image48x48><image128x128></image128x128></icon> --><!-- </fileType> --><!-- </fileTypes> --> <!-- iOS specific capabilities --><!-- <iPhone> --><!-- A list of plist key/value pairs to be added to the application Info.plist --><!-- <InfoAdditions> <![CDATA[ <key>UIDeviceFamily</key> <array> <string>1</string> <string>2</string> </array> <key>UIStatusBarStyle</key> <string>UIStatusBarStyleBlackOpaque</string> <key>UIRequiresPersistentWiFi</key> <string>YES</string> ]]> </InfoAdditions> --> <!-- <requestedDisplayResolution></requestedDisplayResolution> --><!-- </iPhone> --><!-- Specify Android specific tags that get passed to AndroidManifest.xml file. --><!--<android> <manifestAdditions><![CDATA[<manifest android:installLocation="auto"><uses-permission android:name="android.permission.INTERNET"/><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/><uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/><uses-configuration android:reqFiveWayNav="true"/><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> --><!-- End of the schema for adding the android specific tags in AndroidManifest.xml file --></application>