Heart rate sensor API for Android

时间秒杀一切 提交于 2019-12-12 08:08:10

问题


Google has published apis with respect to wearable devices. Since many smart watch manufactures state they have a heart rate sensor, I'm wondering if android published apis for it. I checked the web and didn't find anything.

Anyone who's interested in wearable developing that happens to know about it?

Thanks.


回答1:


(As of now) those APIs belong to each smartwatch maker not Google. Please check my project here:

http://blog.kii.com/?p=3942

and specifically this file:

https://github.com/germanviscuso/PingHeart/blob/master/wear/src/main/java/com/kii/demo/wearable/WearActivity.java

to see how to use the heart rate sensor API on the Samsung Gear Live.

Best.

German



来源:https://stackoverflow.com/questions/25896481/heart-rate-sensor-api-for-android

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!