Skip to content

Instantly share code, notes, and snippets.

@sprejjs
Created July 26, 2017 11:56
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 sprejjs/7cdffb6b084b13d8545fca58c91d32d5 to your computer and use it in GitHub Desktop.
Save sprejjs/7cdffb6b084b13d8545fca58c91d32d5 to your computer and use it in GitHub Desktop.
if (requestCode == CAMERA_REQUEST_CODE && resultCode == RESULT_OK) {
Bundle extras = data.getExtras();
Bitmap imageBitmap = (Bitmap) extras.get("data");
selectedImageView.setImageBitmap(imageBitmap);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment