I wonder if my adobe air application can communicate with external hardware's API functions.
A:
The short answer is no. AIR has no straightforward mechanism to interact with native code or operating system processes on the client's machine.
You can however make socket connections from the AIR client to a server process running on the client machine. Provided the server process can do the hardware integration you need, this will work, although it will complicate your installation routine somewhat since you need to install the AIR app + other native code.
One example of this is the Merapi project which connects AIR to a server-based Java application running on the client's machine, which can make exec() calls to launch native apps or use JNI to leverage native code.
cliff.meyers
2009-05-15 05:39:47
Thanks a LOT for the information.
2009-05-15 11:48:30