I have a problem, I am taking picture saving it on sd card and sometimes I want to delete the image, using
getActivity().getContentResolver().delete(imageUri,null,null);
And I got error that there is something wrong with my uri.. but it works when I display that image, so where is the problem?