12-16-2022 00:35
12-16-2022 00:35
Hello everybody !
First thing first, I'm pretty novice at SDK/JS developing... And I'm bulduing a new app just for fun.
And actually, It's almost done but I cant' found out how to make my watch vibrating at then end of the countdown.
Maybe I've missed it in the API doc, but if anybody can help me I would really appreciate that.
Thx 🙂
Answered! Go to the Best Answer.
12-16-2022 10:37
12-16-2022 10:37
I think that what you want is haptic.
12-16-2022 05:37
12-16-2022 05:37
Hi @Bockbenni - the watch is only working when the display is on.
So if you expect something happen and the watch has gone blank, it won't.
A way around this is to use a setTimeout or setInterval.
However if you are building a countdown and leave the app or the countdown is more than about 2 minutes, the app will close and return to the clock face.
It's quite complicated to build something like this - have a look at timer apps in the Galley, might save you a lot of headache!
Unfortunately you aren't allowed to have timers or alarms that persist, like the system Timers or Alarms apps.
Author | ch, passion for improvement.
12-16-2022 10:37