Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This is how you check the image taken by the camera
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == REQUEST_IMAGE_CAPTURE && resultCode == RESULT_OK) {
Bundle extras = data.getExtras();
Bitmap imageBitmap = (Bitmap) extras.get("data");
checkImageLogo(encodeImage(imageBitmap));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment