in your cameraIntent you need to specify the uri when the camera activity will save the picture with the full resolution:
cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, capturedImageUri);
if you don't specify that you just receive a thumbnail in the onActivityResult. So you specify that and you read the image from the uri.
So in your onActivityResult you should do:
BitmapFactory.Options options = new BitmapFactory.Options();
options.inPreferredConfig = Bitmap.Config.ARGB_8888;
Bitmap bitmap = BitmapFactory.decodeFile(capturedImageUri, options);
that's it.