Hello,
I wrote a simple app to continuously monitor and process accelerometer data. With the timeout api disabled, it seems the app kept running after the screen is off. However, if I press the physical button on the left side (Fitbit versa 2), the app will exit and stop acquiring data from accelerometer.
I wonder if there is any recommended way to keep the app run in background on the Fitbit device?
Thank you!
Answered! Go to the Best Answer.
Best AnswerUnfortunately, there is no 'background'. Only one app or clockface can run at any one time.
You could consider making your app into a nice clockface, so there's less incentive to close it. However, it will still close if any other app is started (Settings, Exercise, Timer, etc).
Best AnswerUnfortunately, there is no 'background'. Only one app or clockface can run at any one time.
You could consider making your app into a nice clockface, so there's less incentive to close it. However, it will still close if any other app is started (Settings, Exercise, Timer, etc).
Best Answer
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
Hi Peter
If there is no background facility how does the Timer app continue running in background [or launch itself] so that when the timer reaches 0 it can set the vibration going?
Author | ch, passion for improvement.
Fitbit's own apps (and some of their partners' apps such as for music) have access to capabilities that aren't available publicly.
App Timeout API is the closest thing to it. I've used it on my project https://medium.com/@sasojakljevic/designing-building-a-fitbit-smartwatch-app-4e07def03121
Best Answer
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
Hi @Sasoj - you are right, you can keep an App running by using
But if you are running a timer app, the timer stops the moment you do something else.
However I got around the problem by running the timer as an Addon in background to the clock face which might be of interest.
Author | ch, passion for improvement.
Best Answer