Update : Fetch calories and steps using Google Fit API for any date

Google Fit API

Anu S Pillai

The Admin at GadgetSaint.com

You may also like...

2 Responses

  1. Apurv Pandey says:

    Calories received from API response and in G-fit app DO NOT MATCH.
    when I debugged, I found that start date and end date remains same while fetching steps. However, it changes while fetching calories. I’m not setting any date. I’m just fetching date using : dp.getStartTime(TimeUnit.MILLISECONDS) & dp.getEndTime(TimeUnit.MILLISECONDS).
    Any idea why??
    how can I fix this??

  2. Danish says:

    You Should upload full code

Leave a Reply

Your email address will not be published.