Heart Rate Sensor not found (LG Watch Urbane)

前端 未结 1 977
别那么骄傲
别那么骄傲 2020-12-21 16:48

I\'m trying to access to the heart rate sensor of my LG Watch Urbane using this code on MainActivity.java:

mSensorManager = (SensorManager) getSystemService(         


        
1条回答
  •  执笔经年
    2020-12-21 17:11

    Ensure that your application has defined and granted the Body Sensors permission.

    Verify that:

    
    

    is present in your AndroidManifest.xml

    Also, ensure that the permission has been granted by checking the Permissions settings on the watch: Settings -> Permissions -> Your app

    0 讨论(0)
提交回复
热议问题