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.
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?