Camera.Parameters parameters = camera.getParameters();
camera.setDisplayOrienttation(90);//設(shè)置預(yù)覽正常(有時(shí)會(huì)翻轉(zhuǎn)90)
parameters.set("rotation",90);//解決拍照完成后imageview里翻轉(zhuǎn)90
Camera.Parameters parameters = camera.getParameters();
camera.setDisplayOrienttation(90);//設(shè)置預(yù)覽正常(有時(shí)會(huì)翻轉(zhuǎn)90)
parameters.set("rotation",90);//解決拍照完成后imageview里翻轉(zhuǎn)90