Hide/Show Adobe AIR app with a windows shortcut

Hello all,
Hope to find some answers here. This is what we are trying to achieve
-- Application with launch at OS startup or user will start the application .
-- Once the application started, it should run in background (No window will be visible)
--  Application should become visible if assinged keyboard shortcut is triggered (e.g. ALT+CTRL+A) , even if the user is working on another applicaiton.
-- User works on the app and if clicks anywhere out of context of the application, it should again go back to background.
Hope this is possible in AIR. We are exploring AIR and above scenario is very important for us.
Thanks for help in adance,

Pretty long set of questions. Let's see.
Application startup:
NativeApplication.nativeApplication.startAtLogin = true; // default is false, so app does not open at login
Run in background
<mx:WindowedApplication has a property called "visible".
If false the window is not visible when the app is started.
--  Application should become visible if assinged keyboard shortcut is triggered (e.g. ALT+CTRL+A) , even if the user is working on another applicaiton.
Afaik, Adobe Air applications have to have focus to listen to keyboard events.
Click out of context
You can handle it via the deactivate event like this:
<mx:WindowedApplication ... deactivate="trace('app deselected')">
HTH

Similar Messages

  • Run Adobe AIR app as Windows Service

    I have an app which monitors an RSS feed. Upon an emergency,
    the RSS feed is updated. The app detects the change and launches
    (from the taskbar/dock) full screen, plays an alarm sound and
    displays the message.
    Is it possible to run this app as a service (I know that
    there are several software options to enable this) - my question is
    directed towards launching the full screen warning. Can I utilize
    the windowing API before a user logs in if the app runs as a
    service?
    I have tested this using a couple of those software options
    with no success.
    Does anyone else have any ideas or answers?

    John, did you ever find a solution for running an Adobe AIR app as a Windows Service?

  • Adobe air app integration with mac help

    Hi  all,
    I want to intergrate my help with adobe air app on mac(so that it should look like mac help). But i am not able to do so as we need to add entry in the file info.plist for doing it. Can anyone please guide me on this. I have downloaded several application but not able to find any application with help intergrated in it. Most of the sample apps don't have any help and the remaining apps send the link to their website for help.
    Any suggestion/ guidance in this regard would be great
    Thanks in advance
    Sumeet

    Try redownloading the Adobe Help application from http://www.adobe.com/support/chc/.
    Hope that helps,
    Frank
    AIR Engineering

  • Publishing air apps with native extension with Flash CS6 on Windows

    Hi all,
    is there any trick to publish air apps with Flash CS6 on Windows?
    I tried all native extensions from devnet, but nothing work to me.
    I read on Mac is possibility to specify the iOS SDK folder in publish
    settings, but on Windows it´s missing. 
    Is there anybody who has some experiences with publishing apps
    with native extensions for iOS and Android with windows Flash CS6?
    Thanks for all advices.

    I sympathize. I recently found a native alert for iOS and Android that's working with Flash CS6 on Windows with AIR 3.2.0.2070 but not AIR 3.2.0.2060. You can get the ANE here:
    http://www.jampot.ie/ane/
    Haven't tried the other ones. Let us know if you decide to try them.
    The sample code they have on the page doesn't work with the native alert. Here's the code I created - it's a document class for a .fla that has one dynamic TextField and one Button component on the stage :
    http://pastebin.com/DsxR9nJ4

  • Adobe air apps cannot be installed

    Hi,
    I have trouble with my PC to install any kind of adobe air app. When I start to install a Adobe air app, I get the UAC request and I confirm it but then the Adobe Air Application Installer.exe *32 is hanging and doing nothing.
    When I repeat the process another Adobe Air Application Installer.exe *32 instance is started.
    Here is my equipment and what I tried:
    Equipment:
    Windows 7 professional SP1 64 -Bit
    - Reinstalling Adobe air with Revo Uninstaller(cleaning registry) and installing it new with Admin rights.
    - Installing Adobe air in Windows XP Sp3 mode
    - Multiple apps were tried and when I start them with the SDK, they are working fine.
    - No information are available in the windows eventlogs
    Any idea  how to solve it or any possibility to start a debug tool to get more information?
    Thank you in advance for any input and help!
    Cheers,
    Dominik

    Hi Chris,
    I appreciate your support!
    Sadly the Microsoft Install and Uninstall Fix It tool does not work, adobe air is still hanging during the app installation.
    This is what I have done:
    1. Uninstall Adobe air with the Microsoft Tool
    2. Install Adobe air new
    3. Try to install the app SmartClient.air -> Did not work
    4. Try to install the app DesktopiPhone.air -> Did not work
    Now I have 4 Adobe air instance in the task manager(see screenshot)
    2* Adobe Air Installer
    2* Adobe Air Application Installer
    Here the install log file:
    [2012-09-25:08:54:39] Runtime Installer begin with version 3.4.0.2540 on Windows 7 x86
    [2012-09-25:08:54:39] Commandline is:
    [2012-09-25:08:54:39] No installed runtime detected
    [2012-09-25:08:54:41] Relaunching with elevation
    [2012-09-25:08:54:41] Launching subprocess with commandline c:\users\sd000037\appdata\local\temp\airb183.tmp\adobe air installer.exe -ei
    [2012-09-25:08:54:43] Runtime Installer begin with version 3.4.0.2540 on Windows 7 x86
    [2012-09-25:08:54:43] Commandline is: -stdio \\.\pipe\AIR_4324_0 -ei
    [2012-09-25:08:54:43] No installed runtime detected
    [2012-09-25:08:54:43] Starting silent runtime install. Installing runtime version 3.4.0.2540
    [2012-09-25:08:54:43] Installing msi at c:\users\sd000037\appdata\local\temp\airb183.tmp\setup.msi with guid {14DC0059-00F1-4F62-BD1A-AB23CD51A95E}
    [2012-09-25:08:54:45] Runtime Installer end with exit code 0
    [2012-09-25:08:54:45] Elevated install completed
    [2012-09-25:08:55:46] Application Installer begin with version 3.4.0.2540 on Windows XP x86
    [2012-09-25:08:55:46] Commandline is: "D:\Arbeit\SmartOffice\0.07.23 MAIN_10082012_001_BETA\SmartClient.air"
    [2012-09-25:08:55:46] Installed runtime (3.4.0.2540) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2012-09-25:08:57:27] Application Installer begin with version 3.4.0.2540 on Windows XP x86
    [2012-09-25:08:57:27] Commandline is: D:\Arbeit\SmartOffice\DesktopiPhone.air
    [2012-09-25:08:57:27] Installed runtime (3.4.0.2540) located at c:\Program Files (x86)\Common Files\Adobe AIR
    Thanks,
    Dominik

  • Displaying fb Friends in Adobe AIR app

    First off, I realize I'm completely in over my head here.
    I am a designer... not a programmer.  Sure, I've set up some "quizzes" on facebook... but nothing like what I'm trying to do here.  So, I'm hoping to get some quick and simple help from someone here.
    Anyway... here's my problem...
    I've made a fun little Adobe AIR app using Flash CS4.  When ran it makes your computer screen look like you're logging into the Umbrella Corporation from the Resident Evil franchise.  It has company data, surveillance cameras and other stuff.  It's totally for fun and doesn't "do" anything.  Just wanted to make an AIR app late one night and this is what I did.
    Now, however, I would like to make it so that you can login to your facebook account and then view a "database of Umbrella Employees"... which... in reality... would simply be a list of your facebook friends with pictures!  The descriptions of what they "do" could be randomly generated from a file or something... or it could be grabbed from some posts they've made or something.  But the friend pictures and names are really what I'm wanting to show.
    I have looked and looked all over for a simple "downloadable" example of this.  I've found some things, but everything is like reading an encyclopedia... and, like I said, I'm simply not that smart.
    Does anyone have a Flash CS4 .fla file that you could share with me to show me how to do this?
    I'm serious when I say I can't figure much out... so please include all library files and anything else I need to know (like upload this to your server here) and stuff.
    If you help, and I "release" this (obviously I can't make money on it) I'll put an Easter egg in for you with your profile or picture or whatever you like!
    Here's hoping for some help...
    Noel

    start here: http://code.google.com/p/facebook-actionscript-api/

  • No Adobe air app will run Only Flash Web browser....

    So I have re-installed Flash Builder So when I try and run a Adobe air app from the Flash Builder It brings up a prompt everytime saying - If the program is already running, close it before attempting to run. When I kill the Adobe Air debugger in the Task manager it pops up again saying If the program is already running, close it before attempting to run.
    After waiting a few moments from trying again I get a message: Unable to connect to the Application to fetch profile data. Please try profiling the application again.
    With Flash based - web browser apps - they run fine with no issue. How ever its only adobe air - desktop apps that run this way. This is the third time I have installed FB 4.5 on Windows 7 64 bit. last night it was all woprking fine I was able to debug my Flash Application and everything was working  - it has been doing this all day.

    I had the same issue suddenly today
    After hours of scratching my head - and just before re-installing FlashBuilder 4.5 - I found this suggestion
    I had an entry in the "mm.cfg" file:
    PreloadSWF=C:\Users\<USERNAME>\AppData\Roaming\Mozilla\Firefox\Profiles\9us94hs0.default\e xtensions\[email protected]\chrome\content\flashfirebug\flashfirebug.swf
    - I deleted the line and it now works
    ---- aaarrrrggghhh - wasted time
    thanks

  • URGENT: Tomcat + Adobe AIR, problem with open .doc

    Hello!
    I've got a web application (Java) in Tomcat.
    I compile using Adobe AIR sdk with this:
    adt -package -storetype pkcs12 -keystore melcos.pfx -target native MELCOS.air
    MELCOS-app.xml MELCOS.html AIRAliases.js icons
    This is my app.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://ns.adobe.com/air/application/2.5">
      <id>project.html.melcos</id>
      <name>
        <text xml:lang="it">Software M.EL.COS. - MME</text>
      </name>
      <versionNumber>1.0.0</versionNumber>
      <filename>Prova</filename>
      <copyright>Copyright</copyright>
      <initialWindow>
        <content>MELCOS.html</content>
        <title>Prova</title>
        <visible>true</visible>
        <width>1024</width>
        <height>768</height>
      </initialWindow>
         <icon>
              <image16x16>icons/logo16.png</image16x16>
              <image32x32>icons/logo32.png</image32x32>
              <image48x48>icons/logo48.png</image48x48>
              <image128x128>icons/logo128.png</image128x128>
         </icon>
         <allowBrowserInvocation>true</allowBrowserInvocation> 
    </application>
    and this is MELCOS.html:
    <html>
    <head>
    <title>M.EL.COS. - MME</title>
      <script type="text/javascript" src="AIRAliases.js"></script>
      <script type="text/javascript">
        function appLoad(){
            window.location="http://localhost:8082/MELCOS";
      </script>
    </head>
    <body onLoad="appLoad()">
    </body>
    </html>
    Now...Tomcat6029 are a Windows service and it start with user SYSTEM.
    In my Java project i build a .doc file and i try to open it directly with default windows application:
    FinalFile = "prova.doc";
    File file = new File("C:\\MELCOS\\run\\web\\tomcat6029\\webapps\\MELCOS\\fronte_quadro\\"+FinalFile);
    Desktop desktop = Desktop.getDesktop();
    desktop.open(file);
    The process start (for example WINWORD.exe) but start with user SYSTEM, and user interface of Microsoft Word don't start.
    (I've try to use getDesktop, ProcessBuilder, getRuntime without results).
    If i try to open directly .doc like browser (stop on url http://localhost:8080/MELCOS/fronte_quadro/prova.doc) Adobe AIR don't open anything.
    I've read that there is a method named openWithDefaultApplication, but i haven't find if it's possible to call this method in java file.
    Can you help me?
    I've got to start Microsoft Word (in this example) and open my files, or i've to open a pop-up like browser's "open - save as - close" window.
    Thanks.
    Morkar88

    Thanks Chris,
    i try to create file "open_document.js":
    import flash.filesystem.File;
    import flash.net.FileFilter;
    var f = air.File.desktopDirectory.resolvePath("preventivo_11.doc");
    f.openWithDefaultApplication();
    when i try to open this file in Adobe AIR (i call http://localhost:8080/MyProject/document/open_document.js"), Adobe Air open new window and with my file .js like a normal text file.
    I try also with "open_document.html":
    <html>
    <head>
    <script language="javascript">
    import flash.filesystem.File;
    import flash.net.FileFilter;
    function opendoc() {
      var f = air.File.desktopDirectory.resolvePath("preventivo_11.doc");
      f.openWithDefaultApplication();
    </script>
    </head>
    <body onLoad="opendoc()">
    </body>
    </html>
    But nothing start....
    (my file "preventivo_11.doc" is in C:\Project\tomcat\webapps\MyProject\document\)
    Why? What i have to do?
    Thanks
    P.S. i've got error with import: flash.ecc... and if i remove import, error with air.File.

  • Dmg/exe vs adobe air app

    Happy Holidays everyone,
    I tried publishing a dmg and I assume the exe behavior would be the same.  I couldn't find a way to include files that were linked via the Loader() method.  If I were to publish this as an adobe AIR app the settings give me an option to add a list of files either one by one or by adding a folder.
    So the question becomes how can I get loaded swf's to be included in my published dmg (Macintosh) / exe (Windows) application file?
    Sorry to disturb the forumists on Christmas eve.
    Thanks for any help.
    -markerline

    Thanks kglad.  I'll take that answer as official.  But it's not inexpensive software on top of what I paid for my CS upgrade.  Don't know why this functionality isn't included in Flash to begin with.  I guess Adobe wants you to use AIR.  We'll see if I can raise the cash out of  =air=  to purchase mProjector.

  • Download link not working in Adobe AIR app.

    I wanted to let users browse my site as a desktop application,
    but didn't have the time to write an application from scratch. SO tried following trick. Created a simple Adobe AIR application with a single page. This page redirects to my website and hence loads the website in the AIR window.
    Everything is working fine except that the download links are not working. The download doesn't start. Nothing happens. What is the solution here? Any help is appreciated.

    I am now facing the same problem. I wrote a servlet .
    code like this
             response = (HttpServletResponse) faces.getExternalContext().getResponse();
             response.setContentType("application/x-download");
             String agent = request.getHeader("USER-AGENT");
             boolean isIE=false;            
            if (null != agent && agent.indexOf("MSIE")!=-1) { 
                isIE=true;
            if (isIE) {
                fileName = URLEncoder.encode(fileName, "UTF-8");
            } else {
                fileName = new String(fileName.getBytes("utf-8"), "ISO-8859-1");
            response.setHeader("Content-Disposition","attachment;filename="+fileName);
            ServletOutputStream os = response.getOutputStream();
            byte b[]=new byte[1024];
            int n;
            while((n=in.read(b))!=-1){
                os.write(b,0,n);
           in.close();
           os.close();
    and i open a new window refer to above jsp ,also i set a breakPoint at os.close(),the program has passed through,but nothing happened in the window.
    If i use IE or FF ,the browser will open a small window to allow me select whether open or  save the file.So can anybody give me some advice.Is it because air using webkit engine and the engine does not do this kind of job?
            Thanks.

  • Adobe AIR app installation issue due to certificate problem on mac 10.9.5

    Im trying to upgrade and then reinstall an Adobe Air application but get the error message failing to install due to a certificate issue.
    The developer says the fix is to uninstall the app and install again but this also fails.
    Checked my machine clock - saved but that didnt work
    The adobe AIR uninstaller simply says I have the latest version? Cant seem to delete and reinstall although other adobe air apps work so I dont think this is the issue
    I have gone through the troubleshooting guide: Troubleshoot AIR installation | Mac OS but still have the issue?
    Any ideas would be great.

    I suspect your Mac OS install was an in place upgrade from an earlier version. This is something I would never even consider with a production machine.

  • Error message when downloading adobe air app.

    I have according to the installation program successfully installed adobe air. I am now trying to download an adobe air app from Jacqui Lawson and keep getting the following message.
    "Sorry an error has occurred. The application could not be installed. Try installing it again. If the problem persists, contact the application author."
    I have read other comments regarding this matter and tried everything suggested so far. I am still having the same issue.
    I am running windows vista 32 bit. All firewall and anti virus are off, UAC is enabled, I have uninstalled and reinstalled the program and I have tried using a different browser. Can anyone suggest anything else to try.

    Curtis Baughman
    Many of us have encounted this issue. The problem is not confined to a particular version or computer operating. Many homemade remedies and scientific ones have worked for some and not others. The most recent fix was offered by an ID by the name of Maud Barbara and seems to have been the answer for that user and at least one more.
    Maud Barbara's fix can be found at the end of the very long thread on the subject found
    http://forums.adobe.com/thread/1121947?start=40&tstart=0
    The rough Google Translate went
    Hello 
    I had the same problem as you and I just d have the solution:
    go to C / program files (86) / common files/OOBE
    Rename OOBE by OLDOOBE
    and your problem is resolved
    You can reinstall the software
    What worked for me in this case was none of the above. How I and others navigated this installation problem is documented in the thread cited.
    We look forward to your results to see what turned out to work for you.
    Thanks.
    ATR

  • Adobe AIR won't install - Windows 7 Ultimate x64

    "Sorry, an error has occurred.
    An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator."
    Well, I asked myself and verified that I am allowed to install any programs I wish to at will.
    I even toyed with adding extra permissions for the .exe and shortcut [see below], to no avail.
    I also checked your Adobe AIR installation troubleshooter section before posting. Unfortunately, none of the solutions 100% applied to my circumstances or OS, yet I tried a few anyway and had it confirmed by a Windows dialogue that I need not have bothered as it assured me that they weren't applicable in my case.
    I found another thread like mine where somebody suggested creating a shortcut with an additional -uninstall parameter added to the .exe path. It didn't work.
    I used Microsoft's Installation Cleanup Utility and that didn't work to "un-confuse" the installer either.
    Do you have any more suggestions?
    Adobe AIR came with the HTC Sync program for my phone, which appears to have dependencies on it where it won't completely work without it.
    Thanks in advance for any input.
    ps. I created a new thread because I couldn't find the "reply" button on a similarly unresolved thread regarding Adobe AIR installation issues on Windows 7.

    I would like to say thanks to artrose54 and to playswithtech for their thoughtful responses to my problem. I finally figured out which number I was to delete, and then, having made a copy of the number in notepad, deleted it. Upon a restart to my computer I then was able to download adobe air 2.7. I found that I still could not download the shutterfly express uploader, however; so I applied the same approach. I went looking for the number in the registry that corresponded to the uploader. I deleted it; restarted the computer; returned to shutterfly; and then was able to download the express uploader. I am sure I will find other uses for Adobe Air in the future.
    From: artrose54 <[email protected]>
    To: Sandra Buchin <[email protected]>
    Sent: Sunday, June 26, 2011 12:37 PM
    Subject: Re: Adobe AIR won't install - Windows 7 Ultimate x64
    Hi everyone,
    Here is the fix that worked for me,
    You need to go to start run and type in regedit
    now press ctrl+f for find and type in "adobe air" without the quotes then click find next
    the first entry it finds is the one I deleted, it is a long number on left side of screen that is greyed just right click and delete it
    I then rebooted the computer and ran adobe air installation
    and it worked with out a problem
    The adobe air log file really doesn't tell u anything but where it tried to find the setup.msi file
    but it doesn't exist because of the registry entry that needs to be deleted which is what causes the error
    If u r not sure of editing the registry then maybe you know someone that can help you
    I hope this helps you out it worked for me

  • Admin Rights for Adobe AIR apps

    Which Admin rights are needed on a system to install a .AIR file on a system? In our Enterprise scenario users do not have Admin rights on the system. And whenever user tries installing an AIR app an error is thrown for the same. I want to know what are the least (Admin) rights that we need to give to a user on a WindowsXP system so that he can install air apps?

    Hello,
    Unfortunately, there isn't a simple answer to this question because AIR isn't in complete comtrol over the full set of files and registry keys touched during an install - we rely on Windows Installer for that.  However you can find additional information about this at:
    Does Installing an AIR Application Require Admin Rights?
    What are Administrative Rights, Anyway?
    You might also want to vote for this idea: Installation of Adobe AIR apps without having administrative privileges
    Hope this helps,
    Chris

  • Will Adobe AIR apps work on iOS (Javascript/HTML)?

    Hello,
    I haven't been able to find any definitive answer on whether Adobe AIR apps using Javascript and HTML can work on iOS.
    Anyone know for sure?
    And if so, what happens with the APIs available through these swfs that we currently include:
    networkInfoWrapper.swf
    servicemonitor.swf
    applicationupdater_ui.swf
    Many thanks
    Stephen

    The answer is no. Apps developed for AIR using HTML and JavaScript are not supported on iOS or other mobile platforms. The mobile platforms do include a StageWebView component that can be used to load and display HTML and JavaScript. However, it is entirely different than the HTMLLoader control used on the desktop platforms (for HTML-based AIR apps). You cannot, for example, call any AIR/Flash APIs from JavaScript running in a StageWebView. In general, very little communication is possible between your ActionScript application code and the JavaScript code running in the StageWebView object.

Maybe you are looking for