语言

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.

编辑者为: karray gargouri 21 7月, 2014

响应

2 回复
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