Adobe Air Application 'Going to sleep'?

Hi.
I have created an Air/Flex Application that runs continuosuly that sends and receives data in XML format. The application sits in the system tray and sends any new xml files it finds in a specific folder (there is a timer that runs a function every few seconds) up to a server and also brings down any new xml files it finds on the server.
Every half an hour this application looks for an instuction xml file on the sevrer which contains a 'testConn' field. If this field is set to 'yes', the application will contact the server and put a time stamp in the database. This way I can see whose computers are connecting to the server. If I notice someone's computer is not connecting, I tell the client to check that their Air application is running.
However, I have a problem with a few installtions in that the Air application seems to go to sleep. It stops sending data and the connection tests don't work. When I contact the client to tell them, they say that the application is running in the system tray. When they click on the application to maxmise it, it suddenly starts connecting.
What could be causing the application to stop responding? Would computers with lower resources consider the application to be not important and therefore not give the application any resources?
It's imprtant that the data on the server is in sync with the data on the local computer and so this problem is throwing a huge spanner in the works.
I'm toying with the idea of setting the process priority to a higher level in the task manager, but don't want to go down that path until I'm sure that that is the problem.
Anyone have any ideas?
Thanks.

Can you send the clients a debug version of your app? You could see what errors are thrown when the app tries to connect, if it even tries to connect at all. Just put verbose debug messages into a viewable text field on all appropriate URLLoader or Loader events. I'd be interested to see the actual problem or solution...

Similar Messages

  • 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

  • Adobe AIR Application Distribution

    I have a client that requested me to do them a CD application
    which I am thinking of using Adobe AIR.
    Does the distribution license allow Adobe AIR applications
    made using Flex or Flash be published through CD-roms and for
    downloads? Are there any implications for this?
    Also, does the license allow if say Adobe AIR player is put
    together with the Adobe AIR application into a CD for distribution
    so that if a computer does not have Adobe AIR player to install the
    AIR application, he/she can install the player directly from the CD
    without going to the Internet?

    AIR does not support running applications from a CD-ROM;
    that's both a technical and a licensing limitation.
    You can redistribute both AIR and your application via
    CD-ROM, thus enabling off-line install, if you agree to a
    redistribution license. See
    http://www.adobe.com/products/air/runtime_distribution1.html
    for details.
    Oliver Goldman | Adobe AIR Engineering

  • Adobe AIR application crash on start in iOS devices

    I have Adobe AIR application that uses Starling and DragonBones.
    We use IntelliJ IDE.
    We can run the application on the device without problem when running from the IDE.
    We build an ad-hoc distribution and put it on a device using TestFlight.
    When we run the application it show the splash-screen image and after that either go into white blank screen or crashes.
    In the XCode Organizer crash report I can't find helpful information.
    How can I debug this problem?

    Any chance of Testing with Flash Professional ? If so than connect your device and in Flash Professional CC go to Debug->Debug Movie-> On Device Via Usb -> Select your device.
    It will start a debug session as soon as you start your app/game and than you can debug whats going wrong on the device, setup your trace statements or breakpoints and see in output panel what actually the problem is.
    I hope it will help or some community guru may assist you or particularly you can post your problem in starling forum too, may be someone will help you there ...
    PS: In debug session mode performance will be low so don't worry about that. This mode is just for debugging and testing purposes.
    Thanks,
    Muhammad Faisal Zaheer,
    Sr. Software Engineer, Team Lead, Cubix Labs

  • All Adobe Air applications have stopped working

    After running Bit Defender - all my Adobe Air applications are no longer working.
    These are Tweet Deck
    SEESMIC Desktop
    basically they won't communicate with twitter - they say user name and password is wrong when it is not.

    That's odd, I had a problem with my Twitter/Tweetdeck feed last week but it seemed to resolve itself.  I'm not sure what AIR could be doing to interfere here.  Have you tried a native application out to see if it is able to authenticate you with Twitter?  You might also want to check in the TweetDeck forums to see if others have encountered this issue.  Please let me know how it goes.
    Chris

  • 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

  • Broadcasting  dynamic , and semitransparent  adobe air application

    i need to broadcast semitransparent adobe air application (in execution ) over the network , please how can i accomplish this , please note that the application is dynamic , and semitransparent
    i need to broadcast it in a local network to send it to an 'on air' TV mixer

    Any chance of Testing with Flash Professional ? If so than connect your device and in Flash Professional CC go to Debug->Debug Movie-> On Device Via Usb -> Select your device.
    It will start a debug session as soon as you start your app/game and than you can debug whats going wrong on the device, setup your trace statements or breakpoints and see in output panel what actually the problem is.
    I hope it will help or some community guru may assist you or particularly you can post your problem in starling forum too, may be someone will help you there ...
    PS: In debug session mode performance will be low so don't worry about that. This mode is just for debugging and testing purposes.
    Thanks,
    Muhammad Faisal Zaheer,
    Sr. Software Engineer, Team Lead, Cubix Labs

  • Problem with Expose and Adobe AIR application -can't click on app in Expose

    I just installed a new Adobe AIR application called TwitterLocal. The app was working fine until I accidently hit some keyboard shortcut and the application window disappeared. I figured I accidently assigned the window to some other "space," however I do not have SPACES turned on. Furthermore, when I select EXPOSE, I can now see the content of the application's window, however if I click on the app (which takes on that grey-highlight appearance when you mouse over it) the desktop returns to its normal position. I can see via the top status bar that the app is currently selected, but I cannot access the app window.
    Is there any way to send an app that was "sent" to expose back to the normal desktop? I've tried rebooting and even uninstalling/reinstalling the app but it is still lost in expose.
    Any thoughts on this would greatly be appreciated.

    Solution was to change display to lower resolution, then the Adobe AIR app TwitterLocal became visible on the standard desktop and I was able to click on and move the app window towards the left of the desktop. Once I switched the resolution back, everything was ok.

  • 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/

  • Adobe Air application installation using the bundled runtime installer

    Hello.
    We plan to develop application for different platforms with Adobe Air and testing installing Air applications with bundled runtime installer on different platforms. It's ok with Windows and Mac OS, but we got troubles with "silent" installation on Ubuntu OS 9.10.
    I tried to install Adobe Air application with bundled runtime, like in this document in part "Silent installation":
    http://help.adobe.com/en_US/air/redist/WS485a42d56cd19641-70d979a8124ef20a34b-8000.html
    using command-line:
    "sudo ./MyInstaller -silent simple-air-air-application-1.0-SNAPSHOT.air"
    and installation fails. Installation log looks like this:
    [setup:2306][INFO] Runtime Installer begin with version 2.6.0.19140 on Linux x86
    [setup:2306][INFO] Commandline is: -silent simple-air-air-1.0-SNAPSHOT.air
    [setup:2306][INFO] No installed runtime detected
    [setup:2306][INFO] Invoking Application Installer for combined install
    [setup:2306][INFO] Launching subprocess with commandline /tmp/air.QMrLZl/build/opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer -runtime /tmp/air.QMrLZl/build/opt -silent -withRuntime -url file:///tmp/air.QMrLZl/simple-air-air-1.0-SNAPSHOT.air
    [setup:2306][ERR] Subprocess app installer failed (-1)
    [setup:2306][ERR] Runtime Installer end with exit code 7
    P.S. We tried do the same on Linux Mint 10. Everything's fine, application getting installed well.

    Thanks for the reply and solution MrSykes.
    I uninstalled adobe AIR and ran a file and registry cleaner to delete any left over files and installs.
    Then installed the v.15 Adobe AIR beta as recommended.
    The cleaners I used (ccleaner & jv16 power tools) did find some temporary install files and remnants of the Video Alchemy install.
    Tried the install again and still no installation window displays.
    I'm running Windows 7 on my PC and even changed the installation file compatibility to Windows XP service pack 2 to no avail.
    Funny that it installed fine on my notebook with Adobe AIR latest version running Windows 7.
    I'm watching task manager as I'm attempting the install and videoalchemy.exe has some cpu usage then drops to zero activity.
    Then Adobe AIR application Installer starts up then cycles to zero cpu activity.
    I'm stumped on this one :-(
    Thanks again for investing the time on my behalf.
    Regards
    Stephen

  • Adobe AIR Application Installer.exe

    On my win xp pro sp3 machine from all the Adobe stuff
    following software installed only:
    - acrobat reader
    - flash player
    - shockwave player
    The Secunia scan tool noticed me recently I had old version
    of flash player.
    It is not right, some days ago just upgraded to 9.0.151.0.
    Why I am using the 9.x one see my other thread in the adobe
    flash player forum.
    In-depth analysis has shown that the old one is really
    present on my station:
    Adobe AIR Application Installer.exe is present on this
    machine and it keeps the old and
    vulnerable version of adobe flash player.
    What for ???????
    I didn't ever install the air application installer on my
    own.
    It must be one of other three applications I'm using
    intentionally.
    What of the three application named above has installed AIR ?
    And what for ?
    Why is nobody upgrading the vulnerable flash version attached
    to AIR ?
    How can I deinstall it ?

    quote:
    Originally posted by:
    tzeng
    You can uninstall AIR by using the uninstall program control
    panel. Just like uninstall an application.
    AIR doesn't figure on the Add/Remove Programs list.

  • Adobe Air Application Installer.exe Documentation

    Hello All,
    i am having severe problems retrieving the documentation for "Adobe Air Application Installer.exe"
    We have applied as Publisher for Air Apps here:
    http://www.adobe.com/products/air/runtime_distribution1.html
    and filled out the form
    http://www.adobe.com/cfusion/mmform/index.cfm?name=air_distribution2
    After that we were hoping to receive documentation about seamless install of air applications, but we are waiting right now ...
    So, time is running out, and i need the documentation of the "Adobe Air App Installer.exe"
    So far i have managed to silently install an air app:
    '$1 -silent -programMenu -location "$INSTDIR" "$TEMP\AirApp.air"' $0
    Where $1 is the "Adobe Air Installer.exe" retrieved from the registry
    $INSTDIR is the installation target path
    $TEMP is a temporary folder, containing the to install Air Application
    the above command works fine for clean and empty systems with no prior versions of the application installed.
    what i now miss are the return code meanings, ranging from 0..9 where i only know that 0 means success !
    And i would like to have a documentation about the
    -update
    and the
    -uninstall
    parameters for seamless installation/deinstallation of a whole air app with data

    hi there,
    i got the documentation also, dunno why they make it so hard
    to get it
    thank you very much !
    greets from joymoney
    ck
    I was also facing this problem.
    Today I got this
    http://help.adobe.com/en_US/AIR/1.5/air_runtime_redist/air_runtime_redist.pdf
    http://help.adobe.com/en_US/AIR/1.5/air_runtime_redist/air_runtime_redist.pdf

  • Adobe AIR Application won't install

    Also, tried reinistalling latest version of Adobe AIR but a message appears saying that the latest version of Adobe AIR is already installed, even though I thought I had unistalled it with the help of Microsoft Fix it (i.e. it no longer appeared in the least of programs installed on the computer).
    I am using a Samsung laptop with Windows 7.
    Following my latest attempt to install the application, I located the Adobe AIR log:
    [2013-11-29:20:21:14] Runtime Installer begin with version 3.9.0.1210 on Windows 7 x86
    [2013-11-29:20:21:14] Commandline is:
    [2013-11-29:20:21:14] Installed runtime (3.9.0.1210) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2013-11-29:20:21:18] Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -installupdatecheck
    [2013-11-29:20:21:18] Runtime Installer end with exit code 0
    [2013-11-29:20:21:37] Application Installer begin with version 3.9.0.1210 on Windows 7 x86
    [2013-11-29:20:21:37] Commandline is: "C:\Program Files (x86)\Mr Smooth\MrSmooth.1.0F.air"
    [2013-11-29:20:21:37] Installed runtime (3.9.0.1210) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2013-11-29:20:21:37] Got an unexpected fatal error while loading SWF: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="app:/Adobe AIR Application Installer.swf" errorID=0]
    [2013-11-29:20:21:58] Application Installer begin with version 3.9.0.1210 on Windows 7 x86
    [2013-11-29:20:21:58] Commandline is: "C:\Program Files (x86)\Mr Smooth\MrSmooth.1.0F.air"
    [2013-11-29:20:21:58] Installed runtime (3.9.0.1210) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2013-11-29:20:21:58] Got an unexpected fatal error while loading SWF: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="app:/Adobe AIR Application Installer.swf" errorID=0]
    [2013-11-29:20:22:03] Application Installer begin with version 3.9.0.1210 on Windows 7 x86
    [2013-11-29:20:22:03] Commandline is: "C:\Program Files (x86)\Mr Smooth\MrSmooth.1.0F.air"
    [2013-11-29:20:22:03] Installed runtime (3.9.0.1210) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2013-11-29:20:22:03] Got an unexpected fatal error while loading SWF: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="app:/Adobe AIR Application Installer.swf" errorID=0]

    Please note that I managed to resolve this myself by first of all deleting the Adobe AIR folder contained within C\Program Files (x86)\Common Files of my hard drive and then re-attempting the Adobe Air application installation. This immediately caused a prompting of an update to Adobe AIR, which I ran. It  seems that the Adobe AIR application installation package contained an older version of Adobe AIR than was already installed within the 'Common Files' folder, and this apparently led to the error (sorry, I cannot explain it any more technical terms than that!).

  • 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

  • Encrypt/Decrypt pdf files in adobe air applications

    Hi Friends
    I want to encrypt and decrypt pdf files in adobe air application. I tried it many ways but am not getting it right method.
    Please help me this situation.

    AFAIK, Adobe Acrobat has features to add security to pdf file, but as for decrypt pdf files, you need to give the password. For example, Adobe Acrobat 9 standard.  Decrypting pdf seems not the issue of acrobat. You can find proper version of Acrobat to encrypt your file, whereas decrypt pdf document, you need to turn to a pdf password removing program to achieve that.

Maybe you are looking for

  • Intermiten​t FIOS Internet performanc​e problems

    Over the last couple of weeks, I've been getting fair to poor internet performance with periods of limited to no internet access.  The ping latency to the first network node has been varying widely for me.   I've tonight is is the longest period of p

  • How to develop a simple plugin for adobe illustrator cs2 using xcode on mac os

    I would like to know the steps to develop a simple plug-in for adobe illustrator cs2 using xcode on mac OS...anything like a dialog box displaying "hello World"... I m new to MAC OS...Please help... Thanks in advance

  • Previous itunes with a new ipod

    I am getting a new Ipod 30GB. My previous Ipod Mini is dead. Will I have a problem with itunes when I connect the new ipod to the computer?

  • Cannot sync calendar to iphone

    I am trying to set up my calendar in Lightning to sync with google so I can get it on my Iphone. When I get to the step of entering my google password in while in Lightning, the signin window just keeps popping up over and over and asking for my pass

  • ROM and RAM in mobile platforms

    I am very new in j2me so i have a question regarding ROM uses in mobile platforms. I read somewhere in a book or a web site about mobile devices using ROM to store JVM or OS (im not sure which one). I want to know how they use ROM and RAM in their sy