Tizen Developers

Menu
Sites
Language
How to deactivate orientation and hibernation events on gear

Hello,

I would like to ask you how can we desactivate the orientation and the hibernation events on the gear device with the code of course.

 

Thank you.

Edited on 21 07, 2014

Responses

2 Replies
Alex Dem

Hi,
Regarding orientation: if you mean how to block auto screen rotation:
https://developer.tizen.org/forums/web-application-development/gear-2-block-auto-screen-rotation
Alexey.

AVSukhov

Hello,

You need specify widget settings "screen-orientation" in config.xml

For more information see documentation:

Tizen Wearable Web App Programming > Application Development Process > Creating the Application Project > Setting Widget Configuration