1
votes

I have some issue in device orientation. What i did is that, i have to open camera for screen capture. The camera view is customized by using overlay. Overlay contains a button view, when click on it it will capture image.

I implement device orientation in it. When custom camera opens it looks fine. But when we rotate(that is, rotate to 180 degree) the over lay looks fine, but the camera view inverted the screen. That is for example, if we wish to capture a tree by rotating device, it'll see like upside down and when after capture, the image also inverted. Does anybody have any idea about how to remove this camera invert while rotating.

1

1 Answers

0
votes

This issue is headache for many devs.

How do you rotate the camera? You have to rotate your overlay and pretend user that user is rotating the camera.

To get More info see this

Explanation is good.