This question might seem stupid but, I am writing a dissertation about camera API for Android. Right now I'm looking at saving images on a SD Card, but I'm a bit confused about what Uri is and does. Does it parse the image from the camera to the imageView? Is it the path of the image?
I found a tutorial, but it doesn't describe what the Uri is.
The Uri in the code
Uri uri;
final static int MEDIA_TYPE_IMAGE = 1;
uri = getOutputMediaFileUri(MEDIA_TYPE_IMAGE);
public Uri getOutputMediaFileUri(int type) {
return Uri.fromFile(getOutputMediaFile(type));
}