fit-samples icon indicating copy to clipboard operation
fit-samples copied to clipboard

I am not able to read data of Google Fit App.

Open sanjaymanvani23 opened this issue 4 years ago • 1 comments

Hello,

   I need to read weight of google fit app using fitness api. is this possible ?
  If yes, how ?


Thank you.

sanjaymanvani23 avatar Aug 01 '20 06:08 sanjaymanvani23

Create the query for TYPE_WEIGHT

https://developers.google.com/fit/datatypes/body#android_3

Put the start time of weight as 1 (or sometime well in the past) if you do not know when the user entered the data.

https://stackoverflow.com/questions/43859491/read-weight-from-google-fit

pi-bansal avatar Aug 01 '20 10:08 pi-bansal