Android: Usb storage location in 3.0? -


my app provides file browser. set root of file browser to: environment.getexternalstoragedirectory(); which, on acer iconia tab, returns "/mnt/sdcard". however, many 3.0 devices support usb storage. there safe/proper way path "/mnt"? (to directory contains sdcard , usb storage)

if environment.getexternalstoragedirectory(); gives /mnt/sdcard/, hoping there safe method /mnt/usb_storage. there not appear be. however, environment.getexternalstoragedirectory().getparentfile() appears reliable give parent directory of /mnt/usb_storage.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -