Skip to content

Instantly share code, notes, and snippets.

@sprejjs
Created July 26, 2017 11:56
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