health-samples
health-samples copied to clipboard
Exercise Sample: Not getting Distance, Steps or Laps
The exercise sample app build is created and run in both the Wear OS emulator and Samsung Galaxy Watch (Sys ver 11) Wear OS 3.5.
But only getting the heart rate per min and calorie
The code is build without modification. Please help
Development machine Mac Moterey 12.4, Apple M1 Chip
Thanks, Harish
Hi @harishvgk, have you enabled the synthetic data providers (more troubleshooting info here)?
The sample doesn't count steps, but distance should be populating with the rest of the data. For laps, if your watch has 3 buttons, you should be able to press the 3rd button to mark a lap (Wear OS 3 and higher reserves 2 buttons for the OS). Because of this, laps probably won't work on the Galaxy Watch since it has 2 buttons.
@breanatate Thanks for your response.
we are not getting the distance in Samsung Galaxy Watch also. I tried installing apk of the exact sample code without any editing
Synthetic data providers are not working in my emulator (Mac book - Apple M11 )
Thanks, Harish
Hi @harishvgk we recently published an updated sample using Compose for Wear OS. Are you able to see distance when using that sample?