I want to display an image taken from the camera in an ImageView using
Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
If your image is rotated, you can use this:
mCamera.setDisplayOrientation(90);
after
mCamera.startPreview();