AIR配置文件详解
代碼 1 <?xml version=”1.0″ encoding=”UTF-8″?>
2 ?<application xmlns=”http://ns.adobe.com/air/application/1.0“>
3
4 <!– Adobe AIR Application Descriptor File Template.
5
6 Specifies parameters for identifying, installing, and launching AIR applications.
7 See http://www.adobe.com/go/air_1.0_application_descriptor for complete documentation.
8
9 xmlns – The Adobe AIR namespace: http://ns.adobe.com/air/application/1.0
10 The last segment of the namespace specifies the version
11 of the AIR runtime required for this application to run.
12
13 minimumPatchLevel – The minimum patch level of the AIR runtime required to run
14 the application. Optional. 程序運行的最小版本號
15 –>
16
17 <!– The application identifier string, unique to this application. Required. 程序的唯一ID,安裝的時候如果存在相同ID的時候,則執行更新操作–>
18 <id>HelloWorld</id>
19
20 <!– Used as the filename for the application. Required. 程序的文件名稱–>
21 <filename>HelloWorld</filename>
22
23 <!– The name that is displayed in the AIR application installer. Optional. 安裝程序時候顯示的名稱–>
24 <name>HelloWorld</name>
25
26 <!– An application version designator (such as “v1″, “2.5″, or “Alpha 1″). Required. 程序版本號–>
27 <version>v1</version>
28
29 <!– Description, displayed in the AIR application installer. Optional. 安裝時候顯示的程序描述–>
30 <!– <description></description> –>
31
32 <!– Copyright information. Optional 版權信息–>
33 <!– <copyright></copyright> –>
34
35 <!– Settings for the application’s initial window. Required. 初始化窗體信息–>
36 <initialWindow>
37 <!– The main SWF or HTML file of the application. Required. 主程序或HTML文件–>
38 <!– Note: In Flex Builder, the SWF reference is set automatically. –>
39 <content>[This value will be overwritten by Flex Builder in the output app.xml]</content>
40
41 <!– The title of the main window. Optional. 主窗體的標題–>
42 <!– <title></title> –>
43
44 <!– The type of system chrome to use (either “standard” or “none”). Optional. Default standard. 是否使用系統的窗體控制,包括最大化、最小化、關閉–>
45 <systemChrome>none</systemChrome>
46
47 <!– Whether the window is transparent. Only applicable when systemChrome is false. Optional. Default false. 窗體是否透明,當systemChrome 設為none時,此項如果設為true,則顯示透明窗體–>
48 <transparent>true</transparent>
49
50 <!– Whether the window is initially visible. Optional. Default false.窗體初始是否可見 –>
51 <!– <visible></visible> –>
52
53 <!– Whether the user can minimize the window. Optional. Default true.能否最小化窗體 –>
54 <!– <minimizable></minimizable> –>
55
56 <!– Whether the user can maximize the window. Optional. Default true. 能否最大化窗體–>
57 <!– <maximizable></maximizable> –>
58
59 <!– Whether the user can resize the window. Optional. Default true.能否調整窗體大小 –>
60 <!– <resizable></resizable> –>
61
62 <!– The window’s initial width. Optional.初始窗體大小 –>
63 <!– <width></width> –>
64
65 <!– The window’s initial height. Optional.窗體初始高度 –>
66 <!– <height></height> –>
67
68 <!– The window’s initial x position. Optional. 初始窗體的屏幕位置的X坐標–>
69 <!– <x></x> –>
70
71 <!– The window’s initial y position. Optional. 初始窗體的屏幕位置的Y坐標–>
72 <!– <y></y> –>
73
74 <!– The window’s minimum size, specified as a width/height pair, such as “400 200″. Optional. 窗體最小的長寬值–>
75 <!– <minSize></minSize> –>
76
77 <!– The window’s initial maximum size, specified as a width/height pair, such as “1600 1200″. Optional. 窗體最大能有多大–>
78 <!– <maxSize></maxSize> –>
79 </initialWindow>
80
81 <!– The subpath of the standard default installation location to use. Optional. 程序默認安裝的目錄–>
82
83
84 <!–installFolder>AIRs/Helloworld</installFolder–><!– 默認安裝路徑 C:\Program Files\AIRs\Helloworld–>
85
86
87 <!– The subpath of the Windows Start/Programs menu to use. Optional. 開始菜單的文件夾位置–>
88 <!– <programMenuFolder></programMenuFolder> –>
89
90 <!– The icon the system uses for the application. For at least one resolution,
91 specify the path to a PNG file included in the AIR package. Optional. 程序圖標–>
92 <!– <icon>
93 <image16x16></image16x16><!– 系統菜單中及系統控制面板添加程序中的圖標 –>
94 <image32x32></image32x32><!– 桌面圖標,窗口圖標 –>
95 <image48x48></image48x48><!– 安裝目錄EXE文件圖標 –>
96 <image128x128></image128x128>
97 </icon> –>
98
99 <!– Whether the application handles the update when a user double-clicks an update version
100 of the AIR file (true), or the default AIR application installer handles the update (false).
101 Optional. Default false. 如果是同一個AIR程序,點擊新版本的安裝程序是否自動進行更新操作–>
102 <!– <customUpdateUI></customUpdateUI> –>
103
104 <!– Whether the application can be launched when the user clicks a link in a web browser.
105 Optional. Default false. 程序是否可以通過瀏覽器激活–>
106 <!– <allowBrowserInvocation></allowBrowserInvocation> –>
107
108 <!– Listing of file types for which the application can register. Optional.列出程序可以關聯的文件類型 –>
109 <!– <fileTypes> –>
110
111 <!– Defines one file type. Optional. –>
112 <!– <fileType> –>
113
114 <!– The name that the system displays for the registered file type. Required.顯示類型的名稱 –>
115 <!– <name></name> –>
116
117 <!– The extension to register. Required. 要注冊的擴展名–>
118 <!– <extension></extension> –>
119
120 <!– The description of the file type. Optional. 文件類型的描述–>
121 <!– <description></description> –>
122
123 <!– The MIME type. Optional.瀏覽器處理的文件類型 –>
124 <!– <contentType></contentType> –>
125
126 <!– The icon to display for the file type. Optional. 文件類型的圖標–>
127 <!– <icon>
128 <image16x16></image16x16>
129 <image32x32></image32x32>
130 <image48x48></image48x48>
131 <image128x128></image128x128>
132 </icon> –>
133
134 <!– </fileType> –>
135 <!– </fileTypes> –>
136
137 </application>
?
轉載于:https://www.cnblogs.com/TsengYuen/archive/2011/01/10/1931958.html
總結
- 上一篇: jquery easyUI分页dataG
- 下一篇: [Microsoft][ODBC SQL