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

How to make a timer application

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?

Best Answer
0 Votes
5 REPLIES 5

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.

Best Answer
0 Votes

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?

Best Answer
0 Votes

@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.

Best Answer

Awesome, thanks for the confirmation.

Best Answer
0 Votes

Waking up this thread because it's a shame we still cannot make timer applications that would work after being closed 😕

Best Answer