-1

错误在这一行:

 camera.setDisplayOrientation(90);

清洁后一切正常

4

1 回答 1

0

Check your project MIN_SDK. camera.setDisplayOrientation(90) will only work since API level 8. If you are targeting any device before Android FROYO, it wont work

于 2012-12-01T11:06:00.407 回答