aFileChooser icon indicating copy to clipboard operation
aFileChooser copied to clipboard

With USB it return null instead of path.

Open iavsm opened this issue 8 years ago • 1 comments

screenshot_20160818-172100 screenshot_20160818-172109

iavsm avatar Aug 18 '16 11:08 iavsm

It is because FileUtils.getPath() can't get a path to it. In my app I openInputStream() on any uri I can't get a path to and copy into my apps private directory. If you don't really need a file system path you can use the InputStream directly or get a FileDescriptor with openFileDescriptor()and use it directly (much faster, no copying).

svenoaks avatar Oct 15 '16 20:10 svenoaks