USB storage in AIR
June 11th, 2007A lot of people were asking for native USB storage detection inside Adobe AIR runtime. This would enable developers to build very cool applications that work with music, videos and photos from external devices.
I have built this proof-of-concept application to show that USB detection can be done fairly easily with the functions that are already inside AIR runtime. Check out the application here.
Source code is also available in the downloads section.
[UPDATE]:
Update to version 1.1 fixes issues with listRootDirectories on Mac OS X


June 25th, 2007 at 5:11 pm
Great idea. Simple, but works nicely. I thought you might be interested in an AIR app that I’ve just launched which uses it. It’s a panoramic photo stitcher, and I’ve used some of your code to detect if a camera is plugged-in, so that photos can be imported. I’ll credit you once I’ve got it far enough along to actually have a credits window!
You’ll find it here:
http://www.clevr.com/blog/2007/adobe-air-panoramic-photo-stitcher/
Thanks for the code!
July 12th, 2007 at 6:14 am
Yep good idea. But it seems to slow down the UI? Try to move the application window after the program has started. It’s really slow, no?
I noticed the same issue on clevr photo stitcher application!
[Editor comment] I have not seen any occurrences of USB class slowing down applications but if anyone else have the same problem please leave a comment here.
August 19th, 2007 at 8:01 pm
Installed and ran it. The app kept looking for my USB drive on E:\. But that’s a DVD-drive. My USB is on drive H:\. I poked around in the code for a few minutes and didn’t see any obvious fix. Any ideas?
June 19th, 2008 at 2:58 pm
viagra supplier sildenafil viagra
December 19th, 2008 at 3:37 am
The check out link page not found…
Can’t I get it?
May 11th, 2009 at 6:17 pm
Hi,
I know it’s a bit dated but I have the same question as Tomoki had in 2008: Is your example it still available for view? I would love to see where to start as I want to do some sort of USB detection in my own application and all the google links about this subject link to this page.
Sincerely,
Tije