Ok, so I have a Uri object of type content://
, I need to convert it to a File object.
I tried
File file = new File(uri.getPath()) //and
File file = new File(uri.toString())
Ok, so I have a Uri object of type content://
, I need to convert it to a File object.
I tried
File file = new File(uri.getPath()) //and
File file = new File(uri.toString())