List Cameras that are Plugged In
Hello, world!
My program currently gets a list of drives plugged into the computer with File.listRoots(). But, when I plug a camera into the computer directly (instead of inserting the memory card), it's not listed, nor does it have a drive letter in Windows Explorer. For example, here's the location of my camera:
Code:
Computer\Canon PowerShot SD750\Removable storage
How can I also list cameras/other devices that do not have a drive letter? I assume this will require a JNI library of some sort, but I don't know for sure obviously :(think):
Thanks!
P.S. Out of desperation, I did try to list the contents of Computer\; it didn't work of course.
Edit: Just to make my question as clear as possible, I need to access storage devices that do not have a drive letter, but are listed in My Computer under "Portable Devices". This includes cameras, MP3 players, e-book readers, etc.