SyntaxFix
Write A Post
Hire A Developer
Questions
try { Bitmap bitmap = MediaStore.Images.Media.getBitmap(c.getContentResolver() , Uri.parse(paths)); } catch (Exception e) { //handle exception }
and yes path must be in a format of like this
file:///mnt/sdcard/filename.jpg