SyntaxFix
Write A Post
Hire A Developer
Questions
File myFile = new File(uri.toString()); myFile.getAbsolutePath()
should return u the correct path
EDIT
As @Tron suggested the working code is
File myFile = new File(uri.getPath()); myFile.getAbsolutePath()