开发者

Android - Image from galley is flipped to the left

I'm bulidling an android program. I want to take an image from the sd card and present it to the user. If the user chooses an image that is not from the camera galley it's presented nicely, but if he chooses an image from the camera galley, it's presented flipped to the left.

Here is the code I used for the selection of the image -

                Intent intent = new Intent();
                intent.setType("image开发者_开发问答/*");
                intent.setAction(Intent.ACTION_GET_CONTENT);
                startActivityForResult(Intent.createChooser(intent, "Select Picture"),1);

Then I just take the image and present it to the user from the URI.

Thanks!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜