Skip to content

Instantly share code, notes, and snippets.

@sprejjs
Created July 26, 2017 11:56
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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