You must add MediaStore.EXTRA_OUTPUTto the intention. In addition, you must specify the Uri for the image to be saved. This will save the full resolution image, otherwise it will simply close the small image.
Refer to Android docs : ACTION_IMAGE_CAPTURE
Intent, , .
EXTRA_OUTPUT , . EXTRA_OUTPUT , Bitmap . , . EXTRA_OUTPUT, Uri EXTRA_OUTPUT