How to access heart rate sensor in Android Wearable?

前端 未结 4 1587
名媛妹妹
名媛妹妹 2020-12-10 13:32

I am having problems accessing heart rate sensor on Moto 360.

I tried following things :

Sensor mHeartRateSensor = mSensorManager.getDefaultSensor(S         


        
4条回答
  •  猫巷女王i
    2020-12-10 13:50

    So, I came here, with the same problem and the simple solution is to remove the application from the watch using the adb:

    adb -s localhost:4444 uninstall com.*packagename*
    

    Then simply reinstall it using android studio, eclipse or whatever you used originally.

    Thanks to Alexander K for this solution

提交回复
热议问题