Questions tagged [heartrate]

67 questions
0
votes
1 answer

iOS HealthKit - how to get the absolutely latest, current heart rate, like the watch heart rate complication?

I have the following function that gets the recent heart rate from the HealthKit. When I examine the sample received, it often has a timestamp within the last 5 minutes. However, if I look at the Apple Watch Heart Rate complication, it sometimes has…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
0
votes
1 answer

Get real-time heart rate watchOS 4 without iPhone

I'm writing a heart rate BPM-alert application for the Apple Watch. Its function is to vibrate the watch when the user's heart rate is over some BPM threshold during a workout. What is the most real-time way to get heart rate data on the watch?…
Jake Hilborn
  • 311
  • 4
  • 8
0
votes
0 answers

Heart rate monitor on smart watch does not start in onCreate method

I don't think I fully understand the code behind heart rate monitoring. I created my project and this is the code I used. protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
0
votes
1 answer

Possible to livestream hr data from watch app to iphone app? how if yes?

we have a iOS fitness application. We are building a watchOS companion app. We are looking for suggestions on how to architect the following feature. We want to stream heart rate data back to our iOS app from our watchOS companion app. For…
0
votes
0 answers

Heart beat in android

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…
-1
votes
1 answer

Service for heart rate or step count is not found in watch

I am building an app for my company where there is a feature it should get a heart rate from a Bluetooth watch. I am using this library where I can get the basic data like device name and battery level and all but I can't get the data that I want…
-2
votes
2 answers

program executing, but not printing the correct details

I have been tasked with creating a program that takes a users name / date of birth, and prints back the persons name / date of birth, age and their target heart rate. It is driving me crazy as I can get the program to execute, but it gives me crazy…
1 2 3 4
5