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 ?

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/
 
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: 436
  • scr.png
    73.4 KB · Views: 462
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…