Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rajitha-bandara/d2a8939bf07fe778cdb5defbc94d42e1 to your computer and use it in GitHub Desktop.
Save rajitha-bandara/d2a8939bf07fe778cdb5defbc94d42e1 to your computer and use it in GitHub Desktop.
Android find original camera image by file Uri
try {
Bitmap bmp = MediaStore.Images.Media.getBitmap(
getContentResolver(), photoFileUri);
photoViewIV.setImageBitmap(bmp);
} catch (IOException e) {
e.printStackTrace();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment