I have the absolute path to a .jpg in the gallery. How can I obtain a 'content://' Uri to this image, so that I can use this Uri like this:
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
I need to launch this intent so I can view the image. How do I obtain the uri, when I have got only the absolute path to the image?