언어 설정

Menu
Sites
Language
Complex Window rotation issue! Expert advice needed.

Hi,

I am developing a video player app and have a requirement of supporting window rotation.

Below is my requirement that i need to achieve.

1) Video player has video and its description like in youtube app. In default mode it will be in portrait and both video and description will be shown.

2) If Auto rotation is ON

        a) There is a full screen button in video player. On clicking it the video should go to landscape mode and video will be playing in full screen and description will be hidden.

       b) Important: When user has clicked the above full screen button, the video player will be in full screen and window should only rotate in 90 and 270 degree and will not support 0 degree rotation.

      c) If full screen button is not clicked, the window will support all 3 i.e 0, 90, 270 degree rotation.

3) If Auto rotation is OFF

     a) Video player will not rotate automatically.

     b) If user clicks on fullscreen button in auto rotation off mode, then only video player will go to landscape mode. By default it will go to 90. if device orientation is in 270, window should rotate to 270.

 

All the rotation feature are similar to android youtube application except when auto rotate is ON and user has clicked full screen button only landscape rotations are supported.

The app is native app and 3rd party.

 

Regards,

Anand

Responses

1 댓글
Mehedi Alamgir

Your requirement seems interesting to me. If you face any problem , post it on forum. Hopefully tizen community will help you.