How can i get the binning_data in StepDailyTrend?

Hi,

I am testing with the stepdiary sample app, but I cannot get the binning_data item of “StepDailyTrend” properly.
Total_count items exist, but the count values ​​of binning_data array converted by HealthDataUtil.getStructuredDataList method are all 0.
How can i get the binning_data properly?

Thank you.

1 Like

Hi,

Have you added "com.samsung.shealth.step_daily_trend" permission to the manifest file?

You will find details about step count trend from here.

Thank you.

Yes. i added “com.samsung.shealth.step_daily_trend” permission to the manifest file. Please refer to the image below.

Total step count value is not zero but all entries in binning_data are all zero.

I have the same proplem.