언어 설정

Menu
Sites
Language
Rotary events ... not working!

Hello,

I have a Samsung gear s2 - Software version R732XXU2BOJ3

When i use the 'uicomponents' sample on the Tizen SDK and i go to the Rotary Event sample it doesn't work on the watch.

Why? did something change?

It seems that the "rotarydetent" event is never fired :(

 

 

Responses

2 댓글
Juan Ospina
file:///opt/usr/apps/rR3Nu8wBSv/res/wgt/lib/tau/wearable/js/tau.js:541:18
 batchCall@file:///opt/usr/apps/rR3Nu8wBSv/res/wgt/lib/tau/wearable/js/tau.js:567:27
 importEvaluateAndAppendElement@file:///opt/usr/apps/rR3Nu8wBSv/res/wgt/lib/tau/wearable/js/tau.js:650:14
 _include@file:///opt/usr/apps/rR3Nu8wBSv/res/wgt/lib/tau/wearable/js/tau.js:6240:48
 change@file:///opt/usr/apps/rR3Nu8wBSv/res/wgt/lib/tau/wearable/js/tau.js:6098:29
 open@file:///opt/usr/apps/rR3Nu8wBSv/res/wgt/lib/tau/wearable/js/tau.js:27186:31
 resolve@file:///opt/usr/apps/rR3Nu8wBSv/res/wgt/lib/tau/wearable/js/tau.js:26527:16
 _loadSuccess@file:///opt/usr/apps/rR3Nu8wBSv/res/wgt/lib/tau/wearable/js/tau.js:26932:22

file:///opt/usr/apps/rR3Nu8wBSv/res/wgt/lib/tau/wearable/js/tau.js:26855:25

Seoghyun Kang

Hello,

 

There is the "SpinningArrow" Sample in Tizen 2.3.1 SDK. It is using the rotary event.

After you install the SpinningArrow, please test it and refer the codes.

(Download url : http://download.tizen.org/sdk/samples/2.3.1/wearable/web/spinning-arrow.zip)

document.addEventListener('rotarydetent', function(ev) {
    var direction = ev.detail.direction;
    rotateArrow(direction);
});

 

If you can not find the solution, please attach your code.

Thanks.