我编写了一个使用 Camera 类拍照的应用程序。问题是在 Galaxy tab 2 7 英寸(运行 ICS)上拍摄的照片失真。它似乎被垂直挤压。有人遇到过这个问题吗?解决方案是什么?包括 Galaxy S3 在内的其他设备都很好。
谢谢雷
Finally found the fix. The problem is that as long as you set the camera parameters the images are distorted, however if I do not set it(preview size) the preview is distorted. The solution is to keep the default parameters when opening the camera, and set the default parameters back to the camera before taking the picture. I have run into quite some problems with Samsung devices. They cause a lot of headache.