You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to sync the distances data from google fit to health connect and retrieve those data from the health connect into my app. I got the broken down distance records, but I cannot identify from which activity they are from.
is it not possible to retrieve the activity each distance record is associated with? as per how google fit logs an activity and stores it in their database?
currently this is the data structure i'm getting from the library. It lacks something like, {activity: "running"}, or something for each of the distance records
The text was updated successfully, but these errors were encountered:
I tried to sync the distances data from google fit to health connect and retrieve those data from the health connect into my app. I got the broken down distance records, but I cannot identify from which activity they are from.
is it not possible to retrieve the activity each distance record is associated with? as per how google fit logs an activity and stores it in their database?
[{"metadata":{"recordingMethod":0,"device":0,"clientRecordVersion":0,"dataOrigin":"com.google.android.apps.fitness","clientRecordId":null,"lastModifiedTime":"2024-06-13T10:46:05.566Z","id":"7c6894ad-6546-44ec-89f8-abb87733983f"},"distance":{"inInches":54330.708661417324,"inMiles":0.8574943765767333,"inFeet":4527.55905511811,"inKilometers":1.38,"inMeters":1380},"endTime":"2024-06-13T10:20:30.585Z","startTime":"2024-06-13T10:15:30.584Z"},{"metadata":{"recordingMethod":0,"device":0,"clientRecordVersion":0,"dataOrigin":"com.google.android.apps.fitness","clientRecordId":null,"lastModifiedTime":"2024-06-10T11:11:56.809Z","id":"61bca0b2-6b02-4fd8-8d69-c4b14a408d74"},"distance":{"inInches":39370.078740157485,"inMiles":0.6213727366498067,"inFeet":3280.839895013123,"inKilometers":1,"inMeters":1000},"endTime":"2024-06-10T10:48:08.969Z","startTime":"2024-06-10T10:41:08.968Z"},{"metadata":{"recordingMethod":0,"device":0,"clientRecordVersion":0,"dataOrigin":"com.google.android.apps.fitness","clientRecordId":null,"lastModifiedTime":"2024-06-10T08:41:56.911Z","id":"57d51a98-381b-4f08-8ec9-9d51af7be615"},"distance":{"inInches":19685.039370078743,"inMiles":0.3106863683249034,"inFeet":1640.4199475065616,"inKilometers":0.5,"inMeters":500},"endTime":"2024-06-10T07:34:00.001Z","startTime":"2024-06-10T07:29:00Z"}]
currently this is the data structure i'm getting from the library. It lacks something like, {activity: "running"}, or something for each of the distance records
The text was updated successfully, but these errors were encountered: