Unable to get exact steps as shown on Google fit app -


i tried sources listed in datasource api of google fit. however, unable exact match number of steps shown on fit app. response returned apis cumbersome use. have been more specific in api used when. also, walked 91 steps 15 mins before. however, still not able data after making api request. shows stale data. not sure if supports realtime. having excellent wifi connection, seems data has not yet been uploaded google cloud. fit app how 91 steps though.

following api request:

get /fitness/v1/users/me/datasources/derived:com.google.step_count.delta:com.google.android.gms:estimated_steps/datasets/1429848000000000000-1429906530000000000 http/1.1 

summation of result not match data displayed todays steps on google fit app

in google doc. said

to record fitness data, use recording api create subscription each data type want record. 

use fitness.recordingapi.subscribe subscribe data. use fitness.historyapi.readdata or fitness.historyapi.readdailytotal read. or can use sensor api monitor step change.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -