Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahongfei committed Jul 6, 2017
1 parent f34e452 commit db8acc3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
如果支持Sensor.TYPE_STEP_COUNTER传感器app不在后台存活也可以计步
如果只支持Sensor.TYPE_ACCELEROMETER传感器app必须开启或者在后台存活才可以计步

简书地址:http:https://www.jianshu.com/p/ca1e1c3ac086
###### 读取三星S健康步数
公司最新引进一批测试机SamSung GALAXY C7,在App关闭的情况下计步传感器是不能计步的需要保持后台Service,但是现在的手机系统基本不要想保持后台进程被杀死就是时间问题,但是三星自带的S健康模块是系统级的可以拿到步数、心率等等很多信息非常全面,最主要的他是系统级App有系统进程且现在新款的三星手机都会有这个S健康模块,换句话说他的步数是最准确的而且新款手机都会有,如果能获取他的数据那三星手机计步问题基本解决80%以上了。

计步模块第一篇简书地址:http:https://www.jianshu.com/p/ca1e1c3ac086
计步模块第二篇简书地址:http:https://www.jianshu.com/p/ca1e1c3ac086

使用代码非常简单
```
Expand Down

0 comments on commit db8acc3

Please sign in to comment.