1

Trying to figure out how to get a meaning full name of an custom user related location through an content provider on the device for example an SD Card. In case of the emulator wanted to display "Virtual SD Card" instead of "BA11-150F".

Letting the user pick a folder via the ACTION_OPEN_DOCUMENT_TREE intent to choose where to store/retrieve data. With the result from the content provider tried already the DocumentContract, ContentProviderClient and ContentResolver to get a meaning full name. By querying the root URI with buildRootsUri got an insufficient permission exception.

TotalCommander is able to readout this information...how is that possible?

Jules
  • 189
  • 1
  • 5
  • 20

0 Answers0