Open harishvgk opened 1 year ago
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?
I couldn't see distance and laps in Google pixel watch
Hi @Raghuram224 are you using ExerciseSampleCompose?
Can you share how you're testing? Are you using synthetic data providers, or walking outside?
As mentioned above, laps won't work on Pixel Watch as all the buttons are reserved for the OS.
I tried testing this on a Pixel Watch and then in the emulator, but it didn't work.
Correct me if I am testing this in a wrong way.
If you run ExerciseSampleCompose on any emulator running Wear 4+, it will automatically generate data, including distance.
If you run ExerciseSampleCompose on an emulator running Wear 3, you'll have to use the synthetic data commands listed here.
What version of Wear OS are you running?
You will not see laps, as that requires a button press, and in Wear 3+, the buttons are reserved for the OS and not accessible by apps. I'm removing laps in an upcoming update, and also officially deprecating ExerciseSample in favor of ExerciseSampleCompose.
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