Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App卸载之后,重新安装打开读取不到今天行走的步数。 #22

Open
erichyx opened this issue Nov 29, 2018 · 1 comment
Open

Comments

@erichyx
Copy link

erichyx commented Nov 29, 2018

在onSensorChanged()回调方法里,有一句 sCurrStep = counterStep - sOffsetStep;不是很明白什么意思,从传感器里读取到的不是就是当天的步数吗?望指点一二,谢谢!

@jiahongfei
Copy link
Owner

  1. 卸载之后保存在sp中的文件都没了,肯定是0
  2. 对于传感器步数,查查传感器资料就明白了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants