In my app, the image is captured from the camera and then it displays in a ImageView
 I've done this approach successfully, but when my image is displayed in Imageview, Image display after rotate.
 I want to rotate Image and then Display in ImageView.
 When I click image from front camera then image is display proper with the help of bellow code
Matrix matrix = new Matrix();
matrix.postRotate(90);
Bitmap rotate = Bitmap.createBitmap(scale,0,0,scale.getWidth(),scale.getHeight(),matrix,true);
displayImage.setImageBitmap(rotate); 
But when I click from back camera Image will display opposite to front camera.
One more thing when I click image from camera from different angle then image will display in ImageView in different angle.
 
     
    