Matin Zadeh Dolatabad
Matin Zadeh Dolatabad
Yes for both read and write.
It's date time formatted in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601). Example: **2024-08-01T12:24:56.004Z**
Hey! Have you added any entries to the health connect app or from any other source to the health connect? What do you expect to see?
Other apps or your app should put data in the health connect so that you can retrieve it. Without that, you'll get an empty array.
I saw a youtube video from Vadim while ago on youtube. Here is the link: https://www.youtube.com/live/VVoXcr18mdo?si=B6jqo4ZzXNUYLJzy He used my lib for the integration.
Hey! Are you seeing any errors in ADB in Android Studio or It just returns empty array? Did you try putting it in try catch and see if an exception...
Have you added any `ElevationGained` records? It seems that both you and @gabrielgouv might be assuming these values are automatically calculated based on the `ExerciseSession`, but that’s not the case....
Did you check Health Connect app to see if `ElevationGained` data is there for that specific timeframe?
It depends on Samsung. If they are exposing those data to health connect yes. Otherwise, the answer is no.