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 AnswerThe 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 Answer
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.
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
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 Answer
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
I'll test again but think it only applies to the watch back button.
Author | ch, passion for improvement.
Best Answer
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
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.