Languages

Menu
Sites
Language
tizen3.0 watch delay 문의

이번에 tizen 3.0으로 업데이트 되면서 delay 현상이 있어 문의드립니다.

web application 으로 watch 개발을 하였는데 이번에 tizen 3.0.0.1로 업데이트 되면서 화면이 켜지거나 시계화면으로 이동시 delay처럼 보여지는 현상이 있습니다.

visibilitychange 이벤트로 2.3.1과 3.0을 비교를 해보니 이벤트 발생 시점이 달라 delay 처럼 보여집니다.

3.0에선 어떻게 대응 해야 할지 문의 드립니다. 

Responses

3 Replies
Armaan-Ul- Islam

Hello minchang sung,

So far What I've understood is 'VisibilityChange' Event is performing delayed in Tizen 3.0.0.1 than Tizen 2.3.1,right ?

Are you deploying a web application ? or a watchface application ? 

Please Share some Code Snippets that explain the scenario, Thanks.

minchang sung

Tizen 3.0.0.1 에서 나타나는 현상이며 배포된 어플은 'watchface application' 입니다.

코드는 타이젠에서 셈플로 제공하는 소스와 동일합니다.

document.addEventListener("visibilitychange", function() {
    if (!document.hidden) {
        updateWatch();
    }
});

'VisibilityChange'가 딜레이 된다기 보단 시계화면으로 이동 시 컴파일 되는 시점이 다른 것 같습니다.

감사합니다.

 

Armaan-Ul- Islam

I've ran the 'Basic Watch' watchface application from Tizen-Studio > New > Sample > Wearable (both 2.3.2 & 3.0) > Watch >  'Basic Watch'  on :

 

i) Gear S2 running on Tizen 2.3.2

ii) Gear S3 running on Tizen 3.0.0.1

iii) Gear Sport running on Tizen 3.0.0.1

 

You may know 'Basic Watch' sample cotains the code you mentioned:

document.addEventListener("visibilitychange", function() {
            if (!document.hidden) {
                updateTime();
            }
        });

 

But, In all the gears there's no delay or inconsistency observed while visibility change is called. Please deploy 'Basic Watch' sample on your gear to ensure is the issue related to 'visibilityChangeListener' or somewhere else on your code.