언어 설정

Menu
Sites
Language
What Listener is used when time is changed manually with emulator shell?

What Listener is used when time is changed manually with emulator shell?

I've found this one 'tizen.time.setDateTimeChangeListener()' however it's called only when I change time with a phone.

Thanks.

Wearable, Gear S3, Tizen 2.3.2.

Edited by: Anonymous on 03 5월, 2019

Responses

3 댓글
Marco Buettner

Why you change the time with emulator shell? For applications it doesnt make sense

Why do you think so? For testing how your methods react to date changing in an application. For example Step counter that must become '0' at 00:00 (a new day). Or your offer is just waiting instead of changing time manually with both emulator shell and phone? 

Marco Buettner

I understand your issue but I think NO API will fired when you change the time manually becuz the API will listen to the PRODUCTION Stage... and thats when the user change the dates about the settings - the emulator shell isnt a realistic scenario on commercial device and for that the API are written.

So it should work if you change the date on the phone only...