语言

Menu
Sites
Language
How to get today's step count and other stats for watch face

I'm trying to create a watch face app that shows daily stats like step count, calories burned, floors (walking upstairs), etc.  I would also like to get the daily step and calorie goal along with it.  There are plenty of watch face apps in the app store that do this, so I know it must be possible, but I can't find anything about it in the docs.  I tried using the Pedometer sensor and I can get it to count steps, but it doesn't tell me how many total steps have been taken in the current day. This must be recorded someplace else.

响应

1 回复
boram bae

Hello, I think that you need the SHealth SDK via the Android application.

Please refer to the contents below.

  • https://developer.samsung.com/health
  • https://stackoverflow.com/questions/63560562/how-to-get-data-such-as-heart-rate-and-pedometer-from-samsung-health-to-tizen-ap