Languages

Menu
Sites
Language
Is this the movement (touch gesture) for GearS2 go to sleep mode?

What kind of movement (touch gesture) seller office Validation  team  uses for GearS2 go to sleep mode ?


https://youtu.be/pCGLqEAioUQ

 

Where i can read about movement (touch gesture)?
Can I simulate  thise
movement (touch gesture) on the emulator SDK2.4 r6 360X360?

 

Thank you

 

Responses

8 Replies
Nafisul Islam Kiron

The gesture shown in the video is simply covering the display with your palm. This triggers the screen off signal in the watch.

 

More about gestures can be found here:

https://developer.tizen.org/design/wearable/ux-overview/gestures

http://www.w3schools.com/jquerymobile/jquerymobile_events_touch.asp

http://hammerjs.github.io/

 

The palm gesture cannot be simulated, emulator has a dedicated power button for this purpose.

Kilim A

"The palm gesture cannot be simulated, emulator has a dedicated power button for this purpose."

if i understand right - If my app close after press power button then my app should close after this covering the display palm gesture, isn't it?

Nafisul Islam Kiron

Pressing the power button on emulator (Gear S2) and putting palm on screen will trigger the same action (turning screen off).

Kilim A

Can I ask here the following question?

How you can see on video the problem whith  tha app - it is don't get pause when screen off.

Previously, no such problem was, as I remember.
But now I have 2.4 r6 SDK and emulators also show that the app game is running when the screen off. For example sound.
 
Has something  changed in power API and emulators?

Or sooner does not too automatically pause when the screen off?

 

Thank you

Nafisul Islam Kiron

Hi , there are callback functions like app_create, app_pause, app_resume, app_terminate etc. used for events where you can manage your apps activities and behaviors. To keep your app alive when screen is off you can turn on "background-support" in config.xml.

Kilim A

When I testing apps  I watch  how work app on emulators. If I want to solve the problem in the video above (The palm gesture after which the screen is off, but the app is running and don't stop, for example music), then i must have  some orientating marks.


  I took two  emulators ( one 2.3.0 r 2 and other 2.4.r6) and both are 360X480.
 I have found that the same app with the same settings, etc. on a single emulator stops(pause, music stop) when the screen is off, and  on the other emulator the app continues to work ( play music, don't set on pause).
The following video demonstrates this.

https://youtu.be/uKx80bl7TmA

 

  That's why I said in the post above: something has changed in the operating system?

How do I be oriented in this   issue?

Nafisul Islam Kiron

I work on a Gear S2, and the above gesture works normally, so if possible please try on a device instead of the emulator.

Kilim A

I can only try to compare logs on emulators and Gear device in RTLab.

 I have not Gear S2