Android Question Sensor Type_Heart_Beat

canalrun

Well-Known Member
Licensed User
Longtime User
Now that I'm inside looking for stuff to do I thought I'd play with the heart sensor on my Ticwris watch.

Using Erel's very old Sensors Example I am able to access the data from the Type_Heart_Rate sensor (type 21) once I add the Body_Sensors permission.

When I try to access data from the Type_Heart_Beat sensor (type 31) it says the sensor is not available.

I've done a lot of searching, both on this forum and on Google. There is very little information about the heart beat sensor.

Can anyone offer some insight about the heart beat sensor? I'm not even sure what the data received represents or what I should be able to do with it. I am hoping to be able to draw some sort of graph that shows the heartbeat pattern.

– Is there a different permission I need to add to access the sensor?
– Does anyone know what the received data will represent?

Has anyone gotten the heart beat sensor (not heart rate) to return data. Maybe this sensor actually is not available on this watch.

Added Later…
I think I found the problem for why this sensor is "not available".

I am way behind on my versions. I am compiling with version 20 of android.jar.

The sensor was not included until android version 24. I will have to download the newer android.

Has anyone played with the sensor?
 
Last edited:
Top