Java: List Cameras that are Plugged In
My program currently gets a list of drives plugged into the computer with File.listRoots() . But, when I plug a camera or an MP3 player 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: 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. Thanks! P.S. Out of desperation, I did try to list the contents