I\'m creating a simple app to take a picture. this is my code
Button b1; ImageView iv; String TAG = \"MAIN ACTIVITY\"; File photo; private Uri mImageUri;
Replace mImageUri.toString() with mImageUri.getPath().
mImageUri.toString()
mImageUri.getPath()
decodeFile expects a path, not an uri string.
decodeFile