Skip navigation
widomin
Currently Being Moderated

How to run external application

Nov 3, 2008 3:48 PM

How could I call an external application like an exe file in Windows.
I read the Adobe AIR Language Reference for HTML Developers, but don' t know if it is possible.
Thanks.
  • Currently Being Moderated
    ilsh,
    Community Member
    Nov 3, 2008 5:21 PM
    Not possible under AIR 1.1.
    |
    Mark as:
  • Currently Being Moderated
    ilsh,
    Community Member
    Nov 5, 2008 10:58 AM
    sorry widomin, my knowledge is not enough to answer your question ...
    |
    Mark as:
  • Currently Being Moderated
    ilsh,
    Community Member
    Nov 5, 2008 3:39 PM
    Hi, widomin. I am very interested in how you can launch external programs with a service. Can you point to me where I can find more information on this topic ?
    |
    Mark as:
  • Currently Being Moderated
    ilsh,
    Community Member
    Nov 6, 2008 12:03 AM
    Thanks, widomin. It's very helpful.
    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Apr 24, 2009 8:00 PM

    Hi All

     

    Is there any other techniques (other than Socket) exist in AIR to run/load an external application?

     

    Thanks in Advance

    Prashanth Hegde

    |
    Mark as:
  • Currently Being Moderated
    Adobe Employee
    Apr 24, 2009 9:41 PM

    Prashanth,

     

    There is currently no supported way to launch external processes with AIR.  I won't say that you can't since just about anything is possible with enough ingenuity, but it's not supported.

     

    This is a feature that we see a lot of requests for and that we are currently investigating for a future version of AIR.

     

    Thanks,

    Christian

    |
    Mark as:
  • Currently Being Moderated
    Nov 2, 2009 3:27 AM

    What I would have done is to develop C#/VB .net application that would run my desired executable. I would have deployed this application as Click Once deployment withan option to take in the querystring parameters.

     

    for example:

     

    http://myserver/external.application?param1=calc.exe

     

    I would have executed the above from within adobe flex, which then would have downloaded the C#/VB .net application and would have executed your desired application, in this case calc.exe. (ofcourse in C#/VB .net application above I would have invoked calc.exe to run). So all in all I would have wrapped the call of calc.exe in my custom C#/VB .net application.

     

    thanks

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Nov 2, 2009 1:44 PM
    |
    Mark as:
  • Currently Being Moderated
    Nov 23, 2009 7:30 AM

    Seems that Air 2.0 does not allow to open a precise application, just a existing file and its

    default application in Windows.

     

    What kind of socket connexion do we have to make. Is there some code or exemple somewhere, I don't have enouth knowledge to do that myself from scratch.

     

    Thanks in advance.

    |
    Mark as:
  • Currently Being Moderated
    Adobe Employee
    Nov 23, 2009 10:18 AM

    AIR 2 does alow you to launch a specific application.

    See an example here:

    http://www.adobe.com/devnet/air/flex/quickstart/interacting_with_nativ e_process_02.html

     

     

    -ted

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Nov 23, 2009 1:39 PM

    ok!

     

    Thanks ted. This helps a lot of course!

    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points