Home/Support/

Forums

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (5 pts)
15 Replies Last post: Nov 23, 2009 1:39 PM by badoumba  
widomin User 5 posts since
Nov 3, 2008
Currently Being Moderated

Nov 3, 2008 3:48 PM

How to run external application

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.
ilsh User 164 posts since
Jun 21, 2007
Currently Being Moderated
1. Nov 3, 2008 5:21 PM in response to: widomin
Re: How to run external application
Not possible under AIR 1.1.
ilsh User 164 posts since
Jun 21, 2007
Currently Being Moderated
4. Nov 5, 2008 10:58 AM in response to: widomin
Re: How to run external application
sorry widomin, my knowledge is not enough to answer your question ...
ilsh User 164 posts since
Jun 21, 2007
Currently Being Moderated
6. Nov 5, 2008 3:39 PM in response to: widomin
Re: How to run external application
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 ?
ilsh User 164 posts since
Jun 21, 2007
Currently Being Moderated
8. Nov 6, 2008 12:03 AM in response to: widomin
Re: How to run external application
Thanks, widomin. It's very helpful.
PrashanthHegde User 5 posts since
Apr 23, 2009
Currently Being Moderated
9. Apr 24, 2009 8:00 PM in response to: ilsh
Re: How to run external application

Hi All

 

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

 

Thanks in Advance

Prashanth Hegde

Christian Cantrell User 6 posts since
Jun 28, 2007
Currently Being Moderated
10. Apr 24, 2009 9:41 PM in response to: PrashanthHegde
Re: How to run external application

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

kamran_BAE User 1 posts since
Nov 2, 2009
Currently Being Moderated
11. Nov 2, 2009 3:27 AM in response to: widomin
Re: How to run external application

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

scholarpack User 46 posts since
Mar 28, 2009
Currently Being Moderated
12. Nov 2, 2009 1:44 PM in response to: kamran_BAE
Re: How to run external application
badoumba User 21 posts since
Jan 6, 2009
Currently Being Moderated
13. Nov 23, 2009 7:30 AM in response to: scholarpack
Re: How to run external application

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.

tzeng User 1,039 posts since
Mar 19, 2007
Currently Being Moderated
14. Nov 23, 2009 10:18 AM in response to: badoumba
Re: How to run external application

AIR 2 does alow you to launch a specific application.

See an example here:

http://www.adobe.com/devnet/air/flex/quickstart/interacting_with_native_process_ 02.html

 

 

-ted

badoumba User 21 posts since
Jan 6, 2009
Currently Being Moderated
15. Nov 23, 2009 1:39 PM in response to: tzeng
Re: How to run external application

ok!

 

Thanks ted. This helps a lot of course!

More Like This

  • Retrieving data ...