Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to make my versa 3 vibrating at then end of my countdown

ANSWERED

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 🙂

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

I think that what you want is haptic.

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
2 REPLIES 2

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.

Best Answer

I think that what you want is haptic.

Peter McLennan
Gondwana Software
Best Answer