Breana Tate
Breana Tate
Hi, I observed this in the MeasureData sample, but not in the ExerciseSample. MeasureData uses MeasureClient, which is meant to receive data while the app is in use, and not...
Both MeasureClient and ExerciseClient require a registered listener. These updates are delivered in batches, and to measure BPM every second for 8 hours would significantly drain the battery. You could...
You can use PassiveMonitoringClient with continuous heart rate monitoring. You should be able to get an alert when HR is above/below a certain threshold for so long. In order to...
Hi, Checking back in with more things to consider. If your use-case is to detect an abnormal HR, then it would be best to use the alert we have built...
PassiveMonitoringClient will work when the screen is off and will work in conjunction with other actions. If continuous heart rate monitoring is enabled on the device, you should be able...
You would need to integrate the parts of PassiveMonitoringClient into your existing app. We don't currently have one built as a sample with this exact functionality. For changing the monitoring...
Yes, the first link you sent. The PassiveData sample uses the PassiveMonitoringClient ([documentation here](https://developer.android.com/reference/androidx/health/services/client/PassiveMonitoringClient?hl=en)), but I don't think using just the sample will satisfy your use-case completely.
Hello, just to make sure I fully understand the scenario in order to replicate it: - Are you using the Health Services emulator or testing with real data? - You...
Are you testing this by swimming? For the Galaxy Watch 4 in particular, there needs to be some degree of regular arm movement for the device to count distance traveled...
I used the startExercise and prepareExercise functions from [the sample](https://github.com/android/health-samples/blob/main/health-services/ExerciseSample/app/src/main/java/com/example/exercise/HealthServicesManager.kt), but added the snippets you had above. I also kept the distance metric at meters instead of KMs. `suspend fun...