can AIR tell if a USB storage device has been plugged in
How can I tell from an air app if a USB stora开发者_StackOverflow社区ge has been plugged in?
is it possible at all?
You might want to look at the StorageVolumeChangeEvent
event on StorageVolumeInfo.storageVolumeInfo
. It will tell you when new volumes are mounted. I'm not sure it's possible to isolate this to (specifically) USB storage.
See this article for more info.
yes it is posible From AIR-2.0 Mass Storage Device Detection AIR 2.0
Hopes that helps
精彩评论