How to Enable Auto Update functionality in  adobe AIR application?

Hi All,
     How to Enable Auto Update functionality in  adobe AIR application and ask for new version to install to user.
     Please provide some informarion regarding above topic.
Thanks,
Sunil Rana

Hi All,,
Got solution. call checkUpdate() function in application level initialize event.
private function checkUpdate() : void
                appUpdater.updateURL = "http://www.aa.com/flex/aa/NativeUpdater.xml";
                appUpdater.addEventListener(UpdateEvent.INITIALIZED, updater_initializedHandler);
                //we can hide the dialog asking for permission for checking for a new update;
                //if you want to see it just leave the default value (or set true).
                appUpdater.isCheckForUpdateVisible = false;               
                //we initialize the updater
                appUpdater.initialize();   
             * Handler function for updater_initializedHandler events triggered by the ApplicationUpdater.INITIALIZED
             * @param updater_initializedHandler
            protected function updater_initializedHandler(event:UpdateEvent):void
                //initializeHandler();
                appUpdater.checkNow();
In NativeUpdater.xml
<?xml version="1.0" encoding="utf-8" ?>
<update xmlns="http://ns.adobe.com/air/framework/update/description/1.0">
     <version>2.0</version>
      <url>http://www.aa.com/flex/aa/AutoUpdate.air</url>
     <description>
     <![CDATA[                 * This a Win update
      ]]>
      </description>
</update>
Upload NativeUpdater.xml file on your Server. When you open your old .air file it will ask for replace with new version.
Thanks,
Sunil Rana

Similar Messages

  • How to run mxmlc from within an Adobe AIR application

    Hi. I'm at the planning stages of writing an Adobe AIR application that needs to be able to run the mxmlc Flex compiler from within. I don't know if this is possible, but if it is, then there are 2 things I don't know how to do:
    1) I don't know what classes to use to execute mxmlc from within my AIR application;
    2) I don't know how to register a listener to such so that the application will know when mxmlc has finished its execution.
    Any help on this would be immensely appreciated. Thanks in advance.

    There is a detailed article on Runtime
    [url http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps_p.html]here

  • How to enable hardware acceleration in desktop Adobe AIR app

    Hello,
    As the author of this post How do I enable hardware acceleration in an air exe? , I am trying to enable hardware acceleration inside my AIR application
    If the user has disabled hardware acceleration in his flash player's settings, context3d.driverInfo will say "Hw_disabled=userDisabled"
    His only way to re-enable it is to open Internet Explorer or Firefox and right click on a flash content, then check "Enable hardware acceleration"
    I (we) would like to be allowed to re-enable it directly inside the AIR app (via actionscript code) and not telling the user to open a browser and check some random checkboxes (cause you know it's not very user-friendly...)
    A bug has been opened here Bug#3843535 - Disabling Hardware Acceleration in IE flash plugin disables it in AIR EXEs and is marked as fixed but nothing is fixed : there's still no way to enable hardware acceleration in desktop AIR application
    Thanks

    Hello,
    I pushed to get this bug fixed and was under the impression that we addressed this back in v16.  Can you share a sample app so I can have our team take a look?
    Thanks,
    Chris

  • How to enable auto update by Installation parameter

    i'm trying to install flashplayer11-2_p5_install_win_ax32_013112.exe by command line FP*.exe /install.
    after the installation completed, i check the Update option in control panel.
    The "Notify me when updates are available" option is aways selected. It seems that is the default settings.
    now, I'd like to know is there any parameter can enable this option "Install Update automatically when possible" druing silent installing.

    Hi All,,
    Got solution. call checkUpdate() function in application level initialize event.
    private function checkUpdate() : void
                    appUpdater.updateURL = "http://www.aa.com/flex/aa/NativeUpdater.xml";
                    appUpdater.addEventListener(UpdateEvent.INITIALIZED, updater_initializedHandler);
                    //we can hide the dialog asking for permission for checking for a new update;
                    //if you want to see it just leave the default value (or set true).
                    appUpdater.isCheckForUpdateVisible = false;               
                    //we initialize the updater
                    appUpdater.initialize();   
                 * Handler function for updater_initializedHandler events triggered by the ApplicationUpdater.INITIALIZED
                 * @param updater_initializedHandler
                protected function updater_initializedHandler(event:UpdateEvent):void
                    //initializeHandler();
                    appUpdater.checkNow();
    In NativeUpdater.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <update xmlns="http://ns.adobe.com/air/framework/update/description/1.0">
         <version>2.0</version>
          <url>http://www.aa.com/flex/aa/AutoUpdate.air</url>
         <description>
         <![CDATA[                 * This a Win update
          ]]>
          </description>
    </update>
    Upload NativeUpdater.xml file on your Server. When you open your old .air file it will ask for replace with new version.
    Thanks,
    Sunil Rana

  • How to enable auto QoS on C4500-X

    How to enable auto QoS on C4500-X for Cisco phone? Since it is different from the global commands 'mls qos',who has the example? Thanks.

    http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.2/20ew/configuration/guide/macro.html
    Take a look at this document
    And this one
    http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps4324/prod_white_paper0900aecd8041691c.html

  • How can i download updated version of adobe

    how do u download updated version of adobe needed for facebook?  will not load

    Flash Player Help | Installation problems | Flash Player | Windows
    Flash Player Help | Installation problems | Mac OS
    Mylenium

  • Question:- How to update the Adobe Air Application Version.?

    Question:- How to update the Adobe Air Application Version.?

    Change the namespace declaration in the application descriptor.
    For example, to update version 1.0 to 1.5, change:
    <application xmlns="http://ns.adobe.com/air/application/1.0." ...
    to:
    <application xmlns="http://ns.adobe.com/air/application/1.5"

  • Incorrect functionality of Embedded tag in html page, displaying object on top of all layers of Adobe air application native window

    Title
    Incorrect functionality of embed tag in html loader for adobe air development
    Description
    Problem Description: If we had loaded youtube.com video url in a view stack and navigate to other index of stack or away from we UI screen within the same native window video or embeded tag of flash player or any other embed object will be displayed on top of all screens layer in same position of where the object should be placed in side of html loader only.
    Steps to Reproduce:
    1) go to http://get.straweb.com/StraWebBrowser/StraWebBrowser.air download and install
    2) load 2 tabs and in the 3 tab load video player of youtube.com which will a sample video
    before completing the load of 3 tab which trying to load video from youtube.com, navigate to other tabs 1 or 2 in few second once the flash player of youtube.com video player is load it will display in the current tab or UI screen.
    3) Try navigating to other tabs than youtube.com loaded tab you see the flash player is on top it stable.
    4) navigate to 3 tab and try to navigate to other tab you can observe that so how it will not show that flash player and only visible in that 3 tab which is fine.
    Actual Result: Embedded tag of html page displaying on top of all layers of Adobe air application native window
    Expected Result: Embedded tag of html page should only displayed in side htmlloader
    This you can replicate in any adobe air plugin update and on any Hardware and Environment.
    Applicable to all sdk versions of adobe air.

    Adobe Bugbase: Bug 3823839 Incorrect functionality of embed tag in html loader for adobe air development

  • How to save the date in Sqlite in Adobe Air application

    hi friends,
    i am doing a flex Adobe AIR Application with SQLITE Data base,in that i want to save Date in the following format DD/MM/YYYY, but in my TABLE i gave the data type is DATE,
    So it store the value like this Sun Dec 2 00:00:00 GMT+0530 2012.i want to store the value in DD/MM/YYYY.How to do that?
    looking for useful suggession.
    Cheers,
    B.venkatesan.

    Hi, maybe cannot help much on this since I have not much experiense on handling SQLITE in AIR.
    But I know there are a command/example for reading SQL:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/data/SQLConnectio n.html
    http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7d49.html
    And in mxml you should have an id for each individual TextInput component, also have a button:
    <Button click="updateSQLHandler(event)"/>
    When the button is click the handler function is launched.
    The updateSQLHandler(event:MouseEvent) is a script that read the each individual TextInput component by getting (id of textinput component).text.
    Then, you create a String varible that is an SQL commands with the texts in the form, and update the SQL database following the below using the execute() command (refer to http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7d49.html ).
    Hope this help.

  • How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    If the data is on a remote server (for example, PHP running on a web server, talking to a MySQL server) then you do this in an AIR application the same way you would do it with any Flex application (or ajax application, if you're building your AIR app in HTML/JS).
    That's a broad answer, but in fact there are lots of ways to communicate between Flex and PHP. The most common and best in most cases is to use AMFPHP (http://amfphp.org/) or the new ZEND AMF support in the Zend Framework.
    This page is a good starting point for learning about Flex and PHP communication:
    http://www.adobe.com/devnet/flex/flex_php.html
    Also, in Flash Builder 4 they've added a lot of remote-data-connection functionality, including a lot that's designed for PHP. Take a look at the Flash Builder 4 public beta for more on that: http://labs.adobe.com/technologies/flashbuilder4/

  • All Adobe AIR Applications stopped function today, what happened?

    I'm running OS X 10.6.3, all of my Adobe AIR applications stopped functioning today.
    Here is a list of all the Adobe AIR applications that I use...
    http://imgur.com/CNXz5
    Now here is the error that each of them have been giving me as of today...
    http://imgur.com/8R2Nb
    http://imgur.com/sbgPL
    http://imgur.com/yFQng
    I have changed absolutely nothing with any of these apps, or Adobe AIR in a very long time... I actually haven't even installed anything to my knowledge in a few weeks.
    I have tried reinstalling all of these apps, reinstalling Adobe AIR... everything. I've tried everything.
    Can anyone assist me in figuring out what is wrong? Thanks in advance for any help.

    I just put those commands through terminal and here is what I got...
    Last login: Thu May 27 10:27:19 on console
    ChrisLaBontysMacbook:~ macbook$ cat /Applications/Utilities/Adobe\ AIR\ Application\ Installer.app/Contents/Info.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
      <dict>
        <key>CFBundleAllowMixedLocalizations</key>
        <true/>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleExecutable</key>
        <string>Adobe AIR Application Installer</string>
        <key>CFBundleGetInfoString</key>
        <string>Adobe AIR 1.5.3</string>
        <key>CFBundleIconFile</key>
        <string>Adobe AIR</string>
        <key>CFBundleIdentifier</key>
        <string>com.adobe.air.ApplicationInstaller</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
        <string>1.5.3</string>
        <key>CFBundleVersion</key>
        <string>1.5.3.9130</string>
        <key>LSBackgroundOnly</key>
        <true/>
        <key>LSMinimumSystemVersion</key>
        <string>10.4.9</string>
        <key>NSHumanReadableCopyright</key>
        <string>Copyright © 2007-2009 Adobe Systems Inc.</string>
        <key>CFBundleDocumentTypes</key>
        <array>
          <dict>
            <key>CFBundleTypeExtensions</key>
            <array>
              <string>air</string>
            </array>
            <key>CFBundleTypeIconFile</key>
            <string>Adobe AIR Installer Package.icns</string>
            <key>CFBundleTypeMIMETypes</key>
            <array>
              <string>application/vnd.adobe.air-application-installer-package+zip</string>
            </array>
            <key>CFBundleTypeName</key>
            <string>com.adobe.air.InstallerPackage</string>
            <key>CFBundleTypeRole</key>
            <string>Viewer</string>
          </dict>
        </array>
      </dict>
    </plist>ChrisLaBontysMacbook:~ macbook$
    ChrisLaBontysMacbook:~ macbook$
    ChrisLaBontysMacbook:~ macbook$
    ChrisLaBontysMacbook:~ macbook$
    ChrisLaBontysMacbook:~ macbook$
    ChrisLaBontysMacbook:~ macbook$
    ChrisLaBontysMacbook:~ macbook$ head /Applications/RedditAddictLite.app/Contents/Resources/META-INF/AIR/application.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <application xmlns="http://ns.adobe.com/air/application/1.0">
      <filename>RedditAddictLite</filename>
      <description>For power redditors: Track your karma scores in real-time -- with graphs!</description>
      <customUpdateUI>false</customUpdateUI>
      <name>RedditAddict Lite</name>
      <id>com.tritelife.redditaddictlite</id>
      <version>1.0</version>
      <allowBrowserInvocation>true</allowBrowserInvocation>
      <initialWindow>
    ChrisLaBontysMacbook:~ macbook$

  • How do I find if I have Adobe AIR installed on my Mac?

    When I dp a Spotlight search for 'Adobe AIR' I find "Adobe AIR Application Installer.app", "Adobe AIR Uninstaller.app", and "Adobe Flash Player Install Manager.app" in the Utilities folder. I don't find anything else.about AIR anywhere else on my Mac so I don't know if I ever installed it. Please help. Thank you.

    OSX 10.6.x is Snow Leopard.
    Click on the Apple icon in the Top Menu then choose 'About this Mac' and the version is shown.
    Stefan

  • Deployment of an Adobe AIR application in an enterprise environment

    Dear Team members,
    first of all my apologies for posting this thread in more than one forum (see Installations Issues) but the argument is very important to us and I don't know where discuss it.
    I would like to post a question to you regarding deployment doubts that we are trying to address.
    My company is working on the new version of our primary application previously built as a J2EE application with some reporting functions with Flex, and we want to use AIR in order to leverage its possibilities:
    Seamless integration with existing application functionalities (implemented as standard JEE web application pages) thanks to the integrated HTML capabilities
    Improved integration of the user interface with the desktop
    Native processes to provide additional functionalities
    Our application is targeted to pharmaceutical industry, subject to FDA regulations, and it affects more than 5000 users for each customer, so we have some specific requirements affecting the deployment and distribution of the software:
    Allow to run multiple versions of the software on the same client machine (to support test and acceptance activities in addition to the production environment)
    Minimize the effort of the initial setup on each client
    Manage the version upgrades without manual activities on each client
    Keep the test/acceptance and production environments strictly aligned to improve effectiveness of formal validation (ideally, an application once validated should be transported in production without any source code modification, recompilation or repackaging)
    The current browser-based strategy is perfectly fit to these requirements, and in the shift towards a desktop-based strategy we need to continue satisfying them as much as possible. We evaluated the standard distribution strategy of Adobe AIR applications, and noticed several attention points in this scenario.
    The first issue we encountered is the back-end services endpoint discovery problem. Simply hardcoding a server URL in the packaged application could be a viable solution for public internet-accessible applications, but we need to support multiple customers in their intranet, and each one typically requires multiple environments for the application (acceptance, production, etc.). Maintaining dozens of different packages of the AIR application to support all these customer environments clearly is not the solution. Neither we want to force thousands of different users to enter and maintain the correct server location in their local preferences.
    So, we thought to use a badge hosted in the back-end application to run the local AIR application: using the underlying API, we could activate the application specifying also the network location of the back-end services. We could also rely on the badge to install the application (and the AIR runtime if necessary)… however, application packaged as native installers cannot be installed, upgraded, or launched by the badge API (and we need to package ours as native to use native processes).
    We also noticed that multiple versions of an AIR application cannot be installed side-by-side in a client machine, and that the installation and upgrade of the application can be performed only when the local user has administrative rights on the machine (using standard or native packages), forcing us to rely on external software distribution systems in some customer scenarios (introducing additional complexities in the release cycle).
    At this point, in our opinion the standard deployment strategies of Adobe AIR applications are unfit for enterprise environments. In the enterprise world, many of the applications have migrated to a completely browser-based solution, while others enhanced their client layer to comply with the requirements, for example installing only a thin portion of the client code and allowing to connect to multiple server versions/environments with it (e.g. the SAP GUI universal client). Without smarter deployment and distribution tools, AIR applications currently are a step back compared to web applications in terms of manageability.
    So, we are trying to develop a solution to address these problems, with some concepts similar to JStart: install on the client machine a launcher application capable of being activated from a web page, dynamically locate, download and run the actual client bytecode, transparently enforce client software updates, and supporting multiple applications (and multiple versions of the same application). However, we are facing many technical problems due to internal architecture of AIR and we already spent a considerable amount of effort trying to find a solution. We are now thinking to return on the choice of AIR, going back to Flex.
    What is the position of Adobe on this argument? Is Adobe aware of these issues and are there any plans on this topic? Any advice?
    Thank you in advance

    For those following along, Oliver Goldman will be answering this post in future articles on his blog.
    Many great comments and questions here. I’m working on some follow-up posts to address these; nothing I could cram into this comment field would really do your query justice. - Oliver Goldman
    Pursuit of Simplicity
    Chris

  • Need better alternative to Adobe AIR Application Installer

    In order to build a double-clickable desktop application,
    apparently one has to use the Adobe AIR Application Installer. This
    is bad for a few reasons:
    It's not scriptable.
    It hard-wires the name of the swf file to load into the
    generated binary.
    For Mac OS X, the "swf launcher" should be a simple "launcher
    stub". The name of the swf file to load should be read from the
    Info.plist file. If it did this, then the stub could be the same
    for all applications. For Windows, there could be a simple XML
    config file in the same directory as the app that serves the same
    purpose as Info.plist on the Mac.
    I hope Adobe addresses this soon.

    quote:
    Originally posted by:
    mattkane
    How about creating your native launcher app with the whole
    AIR client in the Resources folder. When you launch your app it
    launches your server executable, then after its done its stuff it
    launches the AIR app.
    You could make the launcher app itself headless so you don't
    get two dock icons.
    This doesn't address the need to have a non-GUI alternative to
    the Air Application Installer so builds can be completely
    automated.
    It definitely breaks the drag-and-drop of a file onto the
    application's icon.
    I never said I have 2 Dock icons. (I already solved that
    problem by making the server "faceless" by setting LSUIElement to 1
    in the server's Info.plist.)
    Why do I want completely automated builds? Aside from the
    ease of just being able to type "ant" and press Return, any real
    development group has things such that a "build machine"
    automatically rebuilds the app (on all platforms) after ever
    developer check-in to check for accidental build breakage. Those
    builds also become available to QA for them to test.
    Ever time some new development tool comes out where the
    authors provide a GUI tool (presumably because they think GUI =
    easy), I have to wonder, "What were they thinking?" If the authors
    are themselves developers, how can they not see how crippling not
    providing an all-command-line tool-chain is? Don't all non-trivial
    development groups do automated builds as described above? The only
    answer I can think of is that some
    PHB
    somewhere thought it would be a "neat idea" to have an
    "easy-to-use" GUI application (because that sells to other PHBs).
    As to drag-and-drop: presumably, the swf launcher that gets
    generated properly handles drag-and-drop of files onto the
    application's icon and Does The Right Thing when it happens (where
    "right thing" usually means simply opening the document dropped
    onto the icon). Now, since my launcher gets launched instead, that
    breaks drag-and-drop unless I implement that functionality myself.
    The way I've implemented my launcher is such that, after the
    fork(), it's the parent process that exec's itself into the client
    thus keeping the original process ID. The hope is that Launch
    Services on the Mac, when handling and drag-and-drop event, will
    send said event to the original process -- which is now the client
    -- and everything Just Works. I have yet to get around to testing
    this (I'm busy with other things at the moment); but, if it turns
    out that my hope isn't fulfilled, well then I can fall back to
    keeping my launcher running to get and forward the OpenDoc
    AppleEvents from my launcher to the swf launcher.
    So, anyway, back to my original plea: Adobe,
    please just give us a command-line replacement for the Air
    Application Installer (preferably just a launcher stub that reads
    Info.plist). Thanks.

  • Memory Foot Print OF Adobe Air Application

    I have to create adobe air application for peer to peer application which will be run on (gateway)embedded Linux.
    The problem is memory in the device is very low <= 2 mb.
    I wanted know what is the memory foot print of the adobe air application if the code size is 200kb.

    Hi, here is an update to my problem. 
    After enabling legacy CAS policy in my configuration file, the memory is released immediately!
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <runtime>
    <legacyCasPolicy enabled="true" />
    </runtime>
    </configuration>
    I am still hoping to receive feedback about the problem. What is going on? Is this the right solution? Will it work in the future?
    Is it because our project has to run only as a 32-bit process?
    Thanks in advance
    Michel Miranda

Maybe you are looking for