rhomobile / rhoelements-issues

Issues area for RhoElements
0 stars 0 forks source link

B49 - Android camera is forced into landscape mode #26

Closed pascalw closed 11 years ago

pascalw commented 11 years ago

When using the application in portrait mode and opening the Camera on Android (tested on Android 4.2) using:

Camera::take_picture(url_for :action => :camera_callback)

The application will be force rotated to landscape mode. There's no way to take a picture in portrait mode. On iOS it is possible to create photo's in portrait mode.

lexis-t commented 11 years ago

Yes, rhodes camera viewfider is always in landscape mode. This does not mean that you cannot take portrait photo. Camera will rotate image according to device angle.

pascalw commented 11 years ago

Hello Alexey,

I don't think that's correct. The photo's will always be in landscape orientation on Android. You are correct however that the photos are rotated correctly, but my point was that this behaviour is inconsistent with how iOS and Windows Mobile work.

lexis-t commented 11 years ago

Each platform has its own implementation... It is not guaranteed to be fully identical. In rhodes 4.1 we will have fully redesigned camera module