Gear S3 Watch resume application on leaving low power mode

Gear S3 Watch resume application on leaving low power mode

BY 05 Aug 2018 Web Application Development

I have written a stopwatch-type timer application to keep track of multiple timings when cooking.

After a few seconds of no input, the watch goes to the default always-on watchface, which is what I want it to do.

If I re-activate the watch quickly, the display re-activates with my application still running, which again is what I want it to do.

If the watch is inactive for about a minute, then re-activating it brings up the normal watch face.  When I re-start the application, it has remembered its internal state.  I am using real-time timestamps for the timer start events, so all of my timers are still running and correct.

What I want is that when I re-activate the watch after low-power mode, it resumes my application instead of the normal watch face, no matter how long I have left the watch in low-power mode.  I have not been able to find the API for this on the web.  Could someone help me please?

 

Written by