health-samples icon indicating copy to clipboard operation
health-samples copied to clipboard

Exercise Sample: Not getting Distance, Steps or Laps

Open harishvgk opened this issue 2 years ago • 7 comments

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

harishvgk avatar Jan 30 '23 06:01 harishvgk

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 avatar Jan 30 '23 17:01 breanatate

@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

harishvgk avatar Feb 01 '23 05:02 harishvgk

Hi @harishvgk we recently published an updated sample using Compose for Wear OS. Are you able to see distance when using that sample?

breanatate avatar Mar 07 '23 16:03 breanatate