I have a requirement that my Air application accesses a file (SQL Lite) that resides on a USB drive. Is there a way I can resolve the path to a USB drive at runtime? Since I can't be sure what drive letter the USB device is mapped to (this will be distributed to a couple hundred users), is there a way to detect this?
Thanks in advance.
nop the only way is if you are sure for one folder or file name to parse the root of all volumes for find this name and use the finded volume.
In AIR 2 there is a StorageVolume class that will help with this.