I am working on retrieving heart rate data from the Sony Band 2 (SWR12). I would like to do this using the Google Fit Sensors API. I followed the sample and tutorials by google here:https://github.com/googlesamples/android-fit/blob/master/BasicSensorsApi/app/src/main/AndroidManifest.xml
Having enabled the Fit API and created my Authentication token I can now read te device location.
However, when I change the data source to: .setDataTypes(DataType.AGGREGATE_HEART_RATE_SUMMARY) the app crashes.
Anyone that has previously worked with the Fit API and the Sony Band, please help me connect to the band.
I managed to record and read the grouped data with the following code:
I hope I can help you. A greeting