07-11-2022 13:52
07-11-2022 13:52
Hello! I am working on a research study which uses wearable sensors. We need to log raw accelerometer and heart rate data, and we were considering using the Fitbit Sense for this purpose. Our understanding is that the Device API provides access to that data, and that we could write a custom app to log this data for the duration of the study. However, we have a few concerns we were hoping could be addressed:
1) Are there any built-in features which would allow us to collect this raw data without writing a custom application? We can do so if necessary, however.
2) We are concerned about the user accidentally exiting out of the application while collecting data unsupervised. Is there a way to run it such that the user cannot exit out easily, like as a background app or in a single-app locked mode?
3) What kind of battery life could we expect while running a custom application that logs this data? Is there a way to make it better optimized for battery life, like running it in the background or turning off the screen somehow?
4) Is there another device in the Fitbit line that we have missed which would better suit our needs?
Thanks in advance!
Best Answer07-11-2022 14:51
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
07-11-2022 14:51
The architecture of a system to collect accel data is messy. Accelerometer Fetcher here may help. I think there are bugs in that (or the Android side of it) somewhere.
Best Answer07-12-2022 12:52
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
07-12-2022 12:52
Thank you @Gondwana . I'm moving this post to the SDK forum.
07-12-2022 21:30
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
07-12-2022 21:30
Ho @Gondwana - you mention it is possible to detect swipe right [close] in an app on a Sense, do you know how?
See How to stop an App closing with Swipe right?
Author | ch, passion for improvement.
Best Answer07-12-2022 21:39 - edited 07-12-2022 21:40
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
07-12-2022 21:39 - edited 07-12-2022 21:40
07-12-2022 22:06 - edited 07-12-2022 22:06
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
07-12-2022 22:06 - edited 07-12-2022 22:06
I'll test again but think it only applies to the watch back button.
Author | ch, passion for improvement.
Best Answer07-12-2022 23:29 - edited 07-13-2022 01:17
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
07-12-2022 23:29 - edited 07-13-2022 01:17
Thanks@Gondwana - unless this is not the process it doesn't block swipe right
document.onkeypress = function(evt) {
console.log("Key press ");
evt.preventDefault();
}
Pressing the button is detected - Swipe right isn't
Update: It needed this to work
document.addEventListener("beforeunload", (evt) => {Updated How to stop an App closing with Swipe right?
Author | ch, passion for improvement.