-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exercise Sample: Not getting Distance, Steps or Laps #76
Comments
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, |
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
The text was updated successfully, but these errors were encountered: