SyntaxFix
Write A Post
Hire A Developer
Questions
Please try the following code
Uri.fromFile(new File("/sdcard/sample.jpg"))