G
G
geron2017-04-18 20:05:47
Android
geron, 2017-04-18 20:05:47

How to translate the Uri class into a File?

How to translate the Uri class into File and get access to the file, or get the file by uri?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Ne-Lexa, 2017-04-19
@NeLexa

What you need:
uri.getPath()returns a string in the format: /mnt/sdcard/path/to/file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question