Android camera being landscaped in some devices
- by nala4ever
Im new to Android and I tried a tutorial for camera API. The tutorial works fine. When I use HTC desire I can see the camera view in both portrait and landscape, but when I use Samsung Galaxy I get a the camera view only in a landscaped view. I tried the following code to rotate the camera view as well..
Camera.Parameters parameters = camera.getParameters();
parameters.setRotation(90);
then the camera doesn't work as expected. (screen splits into 4 and not clear).
Does anyone have an idea for this issue ?
Thanks.