12-17-2018 05:26
12-17-2018 05:26
I want to make an application using the timer function. However, it was not on the guide or reference. I would like to implement the following functions, is it possible?
1. Set the time on the setting screen
2. When the time comes, the application starts automatically
3. Change the screen display according to the set time
I feel I can implement it if I understand the following.
· Which API can implement timers?
· How does the application side receive a timer callback?
· Can you pass parameters to the callback method?
01-08-2019 08:59
01-08-2019 08:59
Hi, unforunately there's currently no method for waking an application at the specified time.Your app has to be running in order to udpate the UI and vibrate the device.
01-08-2019 12:05
01-08-2019 12:05
Out of curiosity, the built-in fitbit timer app is able to open itself when a timer is finished. Was this app written using the same SDK that's available to the developer community?
01-09-2019 04:55
01-09-2019 04:55
@jrtomsic wrote:
Out of curiosity, the built-in fitbit timer app is able to open itself when a timer is finished. Was this app written using the same SDK that's available to the developer community?
No, the Timer app was built before the SDK existed and has access to functionality within the OS which hasn't been exposed via the SDK at this time.
01-09-2019 04:57
01-09-2019 04:57
Awesome, thanks for the confirmation.
04-10-2021 01:13
04-10-2021 01:13
Waking up this thread because it's a shame we still cannot make timer applications that would work after being closed 😕