Camera.Parameters parameters = camera.getParameters();
camera.setDisplayOrienttation(90);//设置预览正常(有时会翻转90)
parameters.set("rotation",90);//解决拍照完成后imageview里翻转90
Camera.Parameters parameters = camera.getParameters();
camera.setDisplayOrienttation(90);//设置预览正常(有时会翻转90)
parameters.set("rotation",90);//解决拍照完成后imageview里翻转90