In the Samsung's programming guide (pages 77 - 81) there is a reference on how to set and get the heart rate information using the S Health Service SDK. However, I was looking to directly access the Galaxy S5's heart rate sensor, the same way you are able to access the accelerometer, gyroscope, light sensor, among other sensors. I found this example for the samsung gear live, but I cannot find any example for Galaxy S5.
Is it possible to directly access the Galaxy S5's heart rate sensor? Does anyone has a code example on how to do it?
Thank you.
You cannot get raw heart rate monitor data from Samsung Galaxy S5.
Sensors Extension SDK is required to get raw data from sensors not supported by Google Android and this page states that:
Sensor Extension SDK has the following restrictions: