Try   HackMD

Get File path(Content uri) from file manager

Uri uri = getIntent().getData(); File file = new File(uri.getPath()); String path = file.getAbsolutePath();

Ref.

Get File path of file chosen from file manager

tags: File 相關