Air application interacts with external equipment

I wonder if my adobe air app can interact with external hardware API functions.

+1


a source to share


1 answer


The short answer is no. AIR does not have a direct mechanism for interacting with native code or operating system operations on a client machine.

However, you can connect sockets from an AIR client to a server process running on the client machine. If the server process can perform the required hardware integration, this will work, although it will complicate your installation procedure somewhat since you need to install AIR + other native code.



One example of this is the Merapi project, which connects AIR to a server-side Java application running on a client machine, which can make exec () calls to run native applications, or use JNI to use native code.

http://www.merapiproject.net/

0


a source







All Articles