Below is my code. On clicking imageview camera will open and we will capture image. In the below onActivityResult the image size come as the size of thumbnail. I want the actual image size. How to do?
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == CAMERA_REQUEST && resultCode == Activity.RESULT_OK) {
Bitmap photo = (Bitmap) data.getExtras().get("data");
if (CAMERA_REQUEST == 1) {
ivBeforeLoading.setImageBitmap(photo);
ivBeforeLoading.setBackgroundResource(0);
imgBefLoad = photo;
}
}
}