语言

Menu
Sites
Language
Automatically screen is off when rotate wrist frome youself with wearable?

From Valid Team:

Defect>
Screen turns off after device rotation.

<Procedure>
1. Execute the application
2. Minimize the application > apps > open app again
3. Move/rotate gear device

<Expected Result>
Screen should not turn off. Application should behave the same before and after minimization .

 

Video from Valid Team

 

 

 

In the application we have the privilege by API

 

 

And the request to ensure that the screen is not off until the object is moving.

As far as I know, the movement of the second part of the test on video - the screen turns off, ie. when the hand  (wrist) you turn away from youself - the screen automatically goes off.

If so, how to disable it, when application is running? There  is necessary to turning wearable for   moving object (the Moon).

响应

2 回复
Yasin Ali

Hi~,

In https://developer.tizen.org/development/guides/web-application/w3chtml5supplementary-features/device/screen-orientation
it was mentioned that, "Screen Orientation:  This feature is supported in mobile applications only" and also
"Depending on the browser, unlocking the screen orientation may have no visual effect".

According to
'The Screen Orientation API' provides an interface for web applications to read the screen orientation state,
to be informed when this state changes and to lock the screen orientation to a specific state.

Choose appropriate orientation(https://www.w3.org/TR/2012/WD-screen-orientation-20120522/) and then take necessary steps
on what to do when screen-orientation event will occur.


Hope it will work.
If you find my post is helpful , please mark it as the Best Answer to promote this post to others.

Kilim A

Thank you
But it is not the orientation, and that the screen turns off automatically when a specific movement (arm away)
This is reasonable, except in my application.
  I think I just did not have a specific request after minimization