Android Question Heart rate sensor permission (samsung S9)

peacemaker

Expert
Licensed User
Longtime User
HI, All

Samsung S9 device (Android 8) is with the blood pressure sensor.
But what is the permission to use this sensor ?
upload_2019-1-10_15-39-7.png

Any sample of reading the sensor info ?
 

DonManfred

Expert
Licensed User
Longtime User
https://www.smartprix.com/bytes/measure-blood-pressure-using-samsung-galaxy-s9-s9/
The Samsung Galaxy S9 and S9+ come with sound health tracking features. Apart from regular health stats, you can also use the phones to monitor your heart rate and blood pressure using sensors. While the heart rate sensor has been on Galaxy devices for several years, BP sensor is Galaxy S9 exclusive – making it the first commercial phone that can measure your blood pressure.

However, the BP sensor was inactive as it requires a separate app to function. Now, Samsung, in collaboration with the University of California, San Francisco (UCSF), has announced an app called My BP for blood pressure measurements. The app is available in Google Play Store, but only in the US for now.

You can still download My BP Lab app’s Apk file and test it on Galaxy S9 in India.
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
....However, the BP sensor was inactive as it requires a separate app to function. Now, Samsung, in collaboration with the University of California, San Francisco (UCSF), has announced an app called My BP for blood pressure measurements.

OK, thanks.
B4X:
    <uses-permission android:name="android.permission.BODY_SENSORS"/>
    <uses-feature android:name="android.hardware.sensor.heartrate" android:required="true"/>
    <uses-permission android:name="com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY"/>
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
Hi all developers who has Samsung S9, S9+
If interesting - please, try the attached project to check if the HEART_RATE may work.
But, please, publish the result and maybe the fixed project.
B4X:
    <uses-sdk android:minSdkVersion="20" android:targetSdkVersion="26"/>
    <uses-feature android:name="android.hardware.sensor.heartrate" android:required="false"/>
    <supports-screens android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:anyDensity="true"/>
    <uses-permission android:name="android.permission.BODY_SENSORS"/>
    <uses-permission android:name="com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY"/>
 

Attachments

  • 0.1.zip
    7.2 KB · Views: 332
  • scr.png
    scr.png
    73.4 KB · Views: 378
Upvote 0
Top