windows phone - How to get daily steps from the Microsoft Band -


with microsoft band , windows phone app want msband steps taken in current day. today, when subscribe pedometer, totalsteps attribute returns steps taken overall. example, msband returning 1m 444k steps. knows how total daily steps?

the band sdk not expose number of steps (by internal count) taken wearer in current day. closest approximation goal register time-triggered background task retrieves pedometer sensor reading every n-number of minutes/hours , calculates number of steps taken on current day based on delta between successive readings. implies margin of error, based on how (and when) background task executes.

(on windows phone (8.1), example, background task can execute @ every ~30 minutes , isn't aligned given minute of hour, means steps attributed 1 day or next based on side of "midnight" hour task happens run.)


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -