title: Android rotates pictures by 90 degrees (taken by camera)
body: <p>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.</p>
  
  <p>I understood it is some device issue - it does not happen on all devices.</p>
  
  <p>I am taking the picture uskng the given camera intent and save it in onActivityResult function.</p>
  
  <p>I looked around but did not find a solid solution for this.</p>
  
  <p>Any ideas how can find the problem and rotate it back only on "problematic" devices?</p>