机器人旋转90度的图片(采取照相机)照相机、机器人、图片

2023-09-06 00:15:47 作者:惹你贱笑

我是从code拍摄照片在我的三星Galaxy SII设备。 保存后,屏幕我看到它是旋转90度就显示出来。

I am taking a picture in my Samsung Galaxy SII device from the code. After saving and displaying it on the screen I see it is rotated by 90 degrees.

我的理解是一些设备的问题 - 它不会发生在所有的设备

I understood it is some device issue - it does not happen on all devices.

我拍照uskng给定的相机意图并将其保存在onActivityResult功能。

I am taking the picture uskng the given camera intent and save it in onActivityResult function.

我环顾四周,但没有找到该固溶体。

I looked around but did not find a solid solution for this.

任何想法如何能发现问题,并将其旋转回只在有问题的设备?

Any ideas how can find the problem and rotate it back only on "problematic" devices?

推荐答案

这是基于不同的厂商设置的错误。有些手机旋转它们,有些则没有。看到该链接,这是问题#1193

This is a bug based on different manufacturers settings. Some phones rotate them, some don't. see the link, it's issue #1193

http://$c$c.google.com/p/android/issues/detail?id=1193

 
精彩推荐
图片推荐