Well, the question is simple, why is the image low in quality?
Code:
Main class:
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE && resultCode == RESULT_OK) {
Bundle extras = data.getExtras();
Bitmap imageBitmap = (Bitmap) extras.get("data");
Intent imageActivity = new Intent(MainActivity.this, ImageActivity.class);
imageActivity.putExtra("image", imageBitmap);
startActivity(imageActivity);
}
}
Class Image:
Intent intent = getIntent();
Bitmap image = intent.getParcelableExtra("image");
this.image.setImageBitmap(image);
Images:
ImageinactivityImage: