`
jie66989
  • 浏览: 253323 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

AIR 配置文件(*-app.xml)说明

    博客分类:
  • flex
 
阅读更多
原文地址:http://blog.163.com/eillitt@126/blog/static/120092502010414112829940/
数字证书:http://help.adobe.com/zh_CN/AIR/1.5/devappsflash/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff0.html
自己生成的证书在安装的时候  发行商名称将显示为“未知”
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://ns.adobe.com/air/application/1.0">

    <!-- The application identifier string, unique to this application. Required. -->
    <id>AIRTest1</id><!-- 软件ID,当安装时系统将会检测同一ID软件版本,版本高的即做更新操作 -->

    <!-- Used as the filename for the application. Required. -->
    <filename>AIRTest_filename</filename><!-- 安装界面中 Application: -->

    <!-- The name that is displayed in the AIR application installer. Optional. -->
    <name>AIRTest_name</name><!-- 桌面快捷方程式及窗口和系统控制面板添加程序中名称 -->

    <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
    <version>1.0</version><!-- 软件版本 -->

    <!-- Description, displayed in the AIR application installer. Optional. -->
    <description>AIRTest_description</description><!-- 安装第二个界面中的 description -->

    <!-- Copyright information. Optional -->
    <copyright>AIRTest_copyright</copyright>

    <!-- Settings for the application's initial window. Required. -->
    <initialWindow>
        <!-- The main SWF or HTML file of the application. Required. -->
        <!-- Note: In Flex Builder, the SWF reference is set automatically. -->
        <content>[This value will be overwritten by Flex Builder in the output app.xml]</content>
        <!-- The title of the main window. Optional. -->
        <title>AIRTest_title</title><!-- 窗体标题,当此处为注释状态时取 name标签中内容 -->

        <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
        <systemChrome>none</systemChrome><!-- standard为标准窗体,none 为圆滑窗体 -->

        <!-- Whether the window is transparent. Only applicable when systemChrome is false. Optional. Default false. -->
        <transparent>true</transparent><!-- 背景是否透明 -->

        <!-- Whether the window is initially visible. Optional. Default false. -->
        <visible>true</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></maximizable> --><!-- 是否允许最大化 -->

        <!-- Whether the user can resize the window. Optional. Default true. -->
        <!-- <resizable></resizable> --><!-- 是否允许缩放窗体 -->

        <!-- The window's initial width. Optional. -->
        <!-- <width></width> --><!-- 窗体宽 -->

        <!-- The window's initial height. Optional. -->
        <!-- <height></height> --><!-- 窗体高 -->

        <!-- The window's initial x position. Optional. -->
        <!-- <x></x> --><!-- 窗体X位置坐标 -->

        <!-- The window's initial y position. Optional. -->
        <!-- <y></y> --><!-- 窗体Y位置坐标 -->

        <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
        <!-- <minSize></minSize> --><!-- 窗体最小化值 -->

        <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
        <!-- <maxSize></maxSize> --><!-- 窗体最大化值 -->
    </initialWindow>

    <!-- The subpath of the standard default installation location to use. Optional. -->
    <installFolder>AIRInstrallField/AIR</installFolder><!-- 默认安装路径 C:\Program Files\AIRInstrallField\AIR -->

    <!-- The subpath of the Windows Start/Programs menu to use. Optional. -->
    <programMenuFolder>AIRTest_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. Optional. -->
    <!-- 图标的大小必须和标签中标写的尺寸一致 -->
    <icon>
        <image16x16>icons/logo.png</image16x16><!-- 系统菜单中及系统控制面板添加程序中的图标 -->
        <image32x32>icons/logo_32.png</image32x32><!-- 桌面图标,窗口图标 -->
        <image48x48>icons/logo_48.png</image48x48><!-- 安装目录EXE文件图标 -->
        <image128x128>icons/logo_128.png</image128x128><!-- 未知 -->
    </icon>

    <!-- Whether the application handles the update when a user double-clicks an update version
    of the AIR file (true), or the default AIR application installer handles the update (false).
    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 type. Optional. -->
            <!-- <contentType></contentType> -->
            <!-- The icon to display for the file type. Optional. -->
            <!-- <icon>
                <image16x16></image16x16>
                <image32x32></image32x32>
                <image48x48></image48x48>
                <image128x128></image128x128>
            </icon> -->
        <!-- </fileType> -->
    <!-- </fileTypes> -->

</application> 
分享到:
评论

相关推荐

    Flex4.5中air桌面应用 app.xml 配置文件中文注释

    在Flex 4.5中,AIR(Adobe Integrated Runtime)应用程序的配置文件`app.xml`是整个应用的核心组成部分,它定义了应用的元数据、界面属性、资源文件、权限需求等关键信息。这个XML文件的结构和属性直接影响着AIR应用...

    一种非常好用的Air 条形码识别工具

    10. **demo-app.xml**:这可能是未备份的应用配置文件,与`demo-app.xml.bak`类似,定义了应用程序的行为和属性。 综合以上分析,我们可以得出,这是一个基于Adobe Air的条形码识别工具,它包括一个Android版本的...

    flex air案例

    - 主程序文件`main.mxml`和配置文件`main-app.xml`将自动生成。在`main.mxml`中编写代码实现功能。 **编写代码**: - 创建一个按钮,设置点击事件监听器,当点击按钮时,输出控制台信息并弹出对话框显示文字。 **...

    flash编写的拍照调用摄像头生成apk文件

    - **button-app.xml** 和 **button_Scene 1-app.xml**:可能是Adobe AIR应用程序配置文件,包含应用元数据、设置和依赖项信息。 综上所述,这个项目提供了一个完整的教程或示例,展示如何使用Flash CS6和...

    adobe-air.rar_AIR

    2. **Hello World应用**:教程可能会引导初学者创建第一个AIR应用,展示如何定义基本的XML配置文件(.app descriptor),以及如何编写ActionScript或HTML代码实现简单的输出。 3. **资源管理**:讲解如何在项目中...

    flex、flash及air等移动设备ios开发者证书

    用该证书及对应配置文件可以免99刀的Apple developer费用,编译出的ipa程序可以直接在越狱后的ios设备中真机测试运行。 用Flex Builder以学习IOS编程时,需要在Flex中将对应工程的描述文件XX-app.xml中的id改为:...

    flex sdk很经典的东西

    3. **build.properties**: 这是一个配置文件,用于定义构建过程中的各种属性,如编译器设置、目标平台等,可以根据项目需求进行定制。 4. **build.xml**: 这是Ant构建脚本,Ant是一个Java库和命令行工具,用于自动...

    Flex blazeds spring hibernate 增删改

    - **WEB-INF**: 标准的Java Web应用目录,包含web.xml等配置文件,定义了应用的部署描述符。 - **src**: 源代码目录,包含了Java和ActionScript的源文件,可能有服务端的Spring Bean和客户端的Flex组件。 综上所述...

    flex Air 打包

    4. **An AIR Descriptor File (app.xml)**:这是每个AIR应用的核心配置文件,定义了应用的基本信息,如应用名称、版本、图标、权限和所需的最低AIR版本等。开发者需要编辑这个文件来定制他们的应用程序设置。 5. **...

    AIR 写的一个音乐播放器

    - `音乐-app.xml`、`读写文件-app.xml`:这些都是AIR应用程序的配置文件,XML格式,用来定义应用的元数据、权限和设置。 - `AppIconsForPublish`:这个文件夹可能包含了应用在不同平台上的图标资源,用于在用户设备...

    NewHorizonB1U1 交互式课件.rar

    4. **Courseware template-app.xml**:这是AIR应用程序的配置文件,定义了应用的设置、元数据以及资源的组织结构。XML文件可能包含关于课程结构、用户界面布局和其他行为的指令。 5. **save**:这个文件夹可能用于...

    华为官方解压工具,提取update.app 文件

    6. `Profiles.xml`:这可能是配置文件,包含了解压过程中可能用到的参数设置和预定义的解包配置。 使用华为更新提取工具,用户可以按照以下步骤操作: 1. 下载并解压工具包,找到`HuaweiUpdateExtractor.exe`文件...

    Air_Control.rar

    在本项目"Air_Control.rar"中,我们关注的是如何使用手机APP通过WiFi与ESP8266微控制器建立连接,并实现远程控制功能。这个过程涉及到了Android应用开发、网络通信协议以及硬件接口技术。以下是对这些关键知识点的...

    as flash AIR 天气预报 桌面应用程序

    - `Weather-app.xml`:AIR应用程序的配置文件,定义了应用的元数据、权限、依赖库等信息。 - `icos` 和 `icons` 文件夹:可能包含应用程序使用的图标和其他图形资源。 - `com` 和 `air` 文件夹:可能包含自定义的...

    AIR基础教程,中文指南

    2. **应用结构**:一个基本的AIR应用包含XML配置文件(app.xml)、主AS或HTML文件及资源文件。app.xml定义了应用的基本属性,如窗口大小、图标等。 3. **ActionScript编程**:如果使用AS开发,了解AS3的基础语法和...

    air for android hello world

    3. **配置APP descriptor文件**(`app.xml`):定义应用的元数据,如应用名称、版本、图标等。同时,也需要指定应用的启动屏幕和最小支持的Android版本。 4. **编译与测试**:使用Adobe AIR SDK的`adt`命令行工具或...

    支付宝ANE,支付宝

    支付宝ANE,全称为Alipay Native Extension,是一种针对Adobe Air开发的应用程序扩展,允许开发者在Air应用中集成支付宝的支付功能,实现iOS和Android双平台的支持。这个技术是为了解决移动应用中的付费问题,使用户...

Global site tag (gtag.js) - Google Analytics