0

I need to implement Heart Beat on an Android Smartwatch (Android API 23 and Android API 24). The problem is that, according to the getSensorList(Sensor.TYPE_ALL), there is nothing such as a Sensor.TYPE_HEART_BEAT or Sensort.TYPE_HEART_RATE. The sensors I can user are

  • ACCELEROMETER

  • PROXIMITY

  • LIGHT

  • STEP_COUNTER

  • STEP_DETECTOR

It exists a way to implement heart beat/heart rate using proximity and/or light sensor?

  • 2
    Well, proximity senses how far away something is from the face (screen), and light detects how much light is visible from the face (screen), so unless you can get someone to pull their heart out of their chests and hold it close to the screen so that the beat changes the light level, no. – Ken White Apr 26 '18 at 17:23
  • @KenWhite what if the sensors are on the back of the smartwatch? They touch the wrist of the user – Generoso Carbone Apr 27 '18 at 09:23
  • What model of the smartwatch has a light sensor on the back? Which one has a proximity sensor on the back? Since both of them deal with external sources, and the back of the watch would not be external to the watch when worn, that wouldn't make much sense. Link to the docs for that watch, please. – Ken White Apr 27 '18 at 12:08

0 Answers0