Has anyone successfully read the heart rate sensor from the Moto 360?
mSensorManager = ((SensorManager)getSystemService(SENSOR_SERVICE));
mHeartRateSensor =
I had same issue with Moto360 and hers how I solved it.
I tried all the solutions listed - re installing the app, upgrading the SDK but it dint work for me. I included permissions for body sensors in Manifest file. I couldn't see heart rate sensor in my list of available sensors. So I believe it was a permissions issue. API 23 onwards android uses a new permissions model.
From this link : https://developer.android.com/training/articles/wear-permissions.html It says - "Note: For an app to use the new permissions model, it must specify a value of 23 for both uses-sdk-element and compileSdkVersion."
I changed my gradel scripts to use both minsdk and compliledsdk as 23. Also added following to my app manifiest.
And Now its working !!