How to access heart rate sensor in Android Wearable?

前端 未结 4 1585
名媛妹妹
名媛妹妹 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条回答
  •  青春惊慌失措
    2020-12-10 13:49

    As @Kent and @Murphy suggested, updated SDK was the solution. In my case I needed to drop the project and create new from scratch as even with updated SDK old one did not work.

提交回复
热议问题