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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -