I am writing a program that has an AIR front-end, but a back-end written in another language (Python, in this case). Since AIR can't invoke other executables, the relationship has to be the other way around, with Python running an AIR subprocess. How can I locate the user's AIR runtime? I'd like to be able to do this on Mac, Windows, and Linux.
(Ironically, this would be super easy if I could package the AIR debug runtime, but the licensing agreement requires that the user download the regular runtime themselves and run the installer.)
Find the file you want to open and double-click it. It should open automatically. If not, right-click on the file, go to Choose Program and select Adobe AIR. Click Open.
The AIR SDK is distributed as a standard file archive. To install AIR, extract the contents of the SDK to a folder on your computer (for example: C:\Program Files\Adobe\AIRSDK or C:\AIRSDK).
Download the runtime installation file from http://get.adobe.com/air. Double-click the runtime installation file. In the installation window, follow the prompts to complete the installation.
The purpose of Adobe AIR is to enable developers to combine Adobe Flash, JavaScript, HTML, ActionScript, and Flex for the deployment of web apps on desktops, laptops, and other devices. It enables developers to create web apps that you can utilize outside of browsers.
First, you can get a (free) licenses to redistribute the AIR runtime installed:
See:
http://www.mikechambers.com/blog/2008/04/07/redistributing-the-adobe-air-runtime-installer/
and
http://www.adobe.com/products/air/runtime_distribution1.html#license
As far as launching an AIR application, you can launch it like any other native applications (since the AIR app is just a native app once it is installed).
As far as finding where the user installed the app, at least on Windows, I believe you can get the info programatically from the registry, based on on the appid of the AIR app you want to launch.
Finally, you can find a proof of concept on this here:
http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integration-proof-of-concept/
and
http://www.mikechambers.com/blog/2008/01/22/commandproxy-its-cool-but-is-it-a-good-idea/
mike
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With