views:

89

answers:

2

Hi,

I want to write an application that monitor the USB port, and when something is connected should show the contents of the drive (image viewer) automatically.

there is any way to do that with Flex/Flash directly? or i might program another application in C in order to monitor the USB port and then comunicate with the front-end application with sockets?

Thanks br.

A: 

You might find the answer(s) to this SO question helpful: http://stackoverflow.com/questions/541616/talk-to-usb-device-and-vice-versa-from-flex

datageist
thanks. very interesting project, anyway i assume that due security restrictions there is no way to access directly the hw either in flash or AIR applications. i'll take a look of this libraries, but i am not good with java :-(regards.
ignatius
+2  A: 

I believe this is possible with the AIR SDK version 2. It is unfortunately still in beta but should be out soon. http://labs.adobe.com/technologies/air2/

Chris Gutierrez
+1 that's what I was going to recommend. AIR 2 supports that.
Myk