views:

29

answers:

1

Hi, could you tell me plz - is it possible (and how if yes) to capture following information in AIR application:

  • Operation System
  • Laptop model and vendor (if laptop)
  • Installed applications with versions

thanks a lot!!

+1  A: 

With the current version of AIR, AFAIK only the first part is possible. Version 2 is in beta and should let you get much more info from the underlying system.

  • Operation System:

It's possible to detect the operation system using flex 3, you need to use Actionscript flash.system.Capabilities (see here for the flex reference).

  • Laptop model and vendor
  • Installed applications and versions

I don't think that is possible using just AIR.

A way around this is to call a third-party app first that does the work for you (and which is run first and then calls your AIR app). The app will need to write the necessary information to an XML file / sqlite db somewhere where your AIR app can read and process it.

Alex Boschmans

related questions