机器人旋转90度的图片(采取照相机) [英] Android rotates pictures by 90 degrees (taken by camera)

查看:117
本文介绍了机器人旋转90度的图片(采取照相机)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是从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

<一个href="http://$c$c.google.com/p/android/issues/detail?id=1193">http://$c$c.google.com/p/android/issues/detail?id=1193

这篇关于机器人旋转90度的图片(采取照相机)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆