Get total number of walk steps (Pedometer) in Tizen.net

I use Pedometer sensor to detect steps user have walked.
But I need to display total number of steps user walked since mid night. How can I read it?
Other watch faces show this very step count, so it’s possible.
Thanks.

Other watch faces are made using Galaxy Watch Studio and that has access to limited Samsung Health data. Tizen Developers do not have S Health access and use the sensors. They need to create their own memory storage for fitness data.

Ron
Samsung Developer Program

Look here for an example:

API

As Ron said: You have to do your own service to count the steps since midnight. S Health is currently and unfortunately not available in Tizen.net. Run your service in a sub-app and register a messaging port for your main app or read the steps by intervals.

Andy

Hi

What about reading recorded data (https://docs.tizen.org/application/native/api/wearable/4.0/group__CAPI__SYSTEM__SENSOR__RECORDER__MODULE.html)?
Is it possible to access S Health pedometer using this API?

Thanks

Would you please guide me how to develop sub-app?
How is it’s life-cycle, will it run even if user changes to another watchface?

Is it possible to access S Health pedometer using this API?

S Health is a proprietary algorithm that Samsung uses to create data from sensor technology and other factors. You can access the pedometer using Tizen sensors but you have to create your own algorithm to define what is a step.

Check GitHub there may be example code for determining steps. Probably example for a sub-app.

Ron
Samsung Developer Program

I using TizenFX for reading Pedometer.
I mean how to keep step counter alive, even when another watchface (not mine) is active.