1 Reply Latest reply on Mar 8, 2011 11:26 AM by nirnirnir

    Android CameraUI - Portrait/Landscape issue

    nirnirnir Level 1



      I have a simple view that lets the user take a photo from the camera and display it after.


      When using the same application on Nexus one, no matter what state the phone is when I actually take the picture, it will always shows correctly (so if i take a picture of someone's face, I can see it fine no matter what position the phone was in when I took the picture)


      However, doing the same thing on the Nexus S (same code), unless I take the picture in portrait state, rotated to the left, the picture will rotate and show in different angles (upseide down, laying down etc.)


      Checking the ratio of the pic won't help since it can be portrait but will show upside down!


      Any idea how to tackle this?