If you take a picture from the Android camera path is saved as /storage/emulated/0/DCIM/... and when my app try to read this file from it throws FileNotFoundException error. Weird... To fix this
I did this
String path = path .replace(“/storage/emulated/0″, “/sdcard”);
and it worked!
No comments:
Post a Comment