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

Get live accelerometer data #3

Open
ziqin opened this issue Aug 28, 2018 · 16 comments
Open

Get live accelerometer data #3

ziqin opened this issue Aug 28, 2018 · 16 comments
Labels
enhancement New feature or request

Comments

@ziqin
Copy link
Owner

ziqin commented Aug 28, 2018

References:

@ziqin ziqin added the enhancement New feature or request label Aug 28, 2018
ziqin added a commit that referenced this issue Sep 1, 2018
@AngelSotomayor
Copy link

Hello,
Does this code work with a Miband3?

Thans a lot for any help you can provide

@ziqin
Copy link
Owner Author

ziqin commented Dec 11, 2018

Hello,
Does this code work with a Miband3?

Thans a lot for any help you can provide

@AngelSotomayor
I haven't tested it on a MiBand 3 device. Probably it doesn't work currently.

@yfytufgugyguvuy
Copy link

What can I do to make it compatible with android 9.0?Can you give me some advice?

@ziqin
Copy link
Owner Author

ziqin commented Sep 4, 2019

@yfytufgugyguvuy

What can I do to make it compatible with android 9.0?Can you give me some advice?

Sorry for my late response. I haven't tested it on any Android 9 device. What problem did you encounter?

FYI, you may try to update app/build.gradle, replacing 28 with 29, and then recompile the project.

@yfytufgugyguvuy
Copy link

I am Chinese. Maybe we can communicate in Chinese.

@yfytufgugyguvuy
Copy link

在安卓系统8.0里,加速度测量开启久了会闪退。在安卓系统9.0里,软件可以打开,但是心率测试还有加速度测量都用不了。

@ziqin
Copy link
Owner Author

ziqin commented Sep 4, 2019

在安卓系统8.0里,加速度测量开启久了会闪退。在安卓系统9.0里,软件可以打开,但是心率测试还有加速度测量都用不了。

看来问题比我想象中的要麻烦。

当前代码中的加速度示数意义似乎尚不明确。in.wangziq.fitnessrecorder.hardware.MiBand2 这个 class 当时设计得不太好,也许与闪退有联系,可能需要重构才能得到比较好的解决。

Android 9 中,如果手机无法与手环建立连接的话,可能是蓝牙权限方面的问题。

@yfytufgugyguvuy
Copy link

很冒昧问一下,我可以加你的QQ或者是微信吗?我是一名大二的学生,目前正在自学安卓开发。我看过你的博客,觉得你很厉害,就希望有问题的时候能问问你

@ziqin
Copy link
Owner Author

ziqin commented Sep 4, 2019

@yfytufgugyguvuy

我也是一名大学生。非常抱歉,平时忙着写作业,没能维护好这个项目。

也许你可以发 Email 给我;不过说实话,Android 开发我也不太懂,之前写这个 project 时临时看书学的,时间长了也忘得差不多了,有些问题可能答不上来。

@yfytufgugyguvuy
Copy link

哦,那没事😁 。我去重构in.wangziq.fitnessrecorder.hardware.MiBand2试试,非常感谢你能帮我

@yfytufgugyguvuy
Copy link

时间也不早了,早点休息。

@yfytufgugyguvuy
Copy link

我发现加速度测量久了会闪退应该是内存溢出的问题。你可以给我一点建议吗?谢谢你

@yfytufgugyguvuy
Copy link

安卓9.0的手机可以和手环成功连接,但是一点击心率测试或者加速度测量软件就闪退

@0x504B0304
Copy link

都2020年了,还有人折腾小米手环2么?我在写一套用ESP32连接小米手环2的API,写了好久咯,一直想读实时加速度,大佬们研究了这么久,有想法了么?

@0x504B0304
Copy link

@ziqin @yfytufgugyguvuy 学长们好啊!艾特一下,交个朋友才能体现出Github的价值

@daritzateheran
Copy link

Hi, is someone working on this issue for Miband4 or others versions? My god is 2022. I've been looking for any development which actually works since 2015 :c

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

No branches or pull requests

5 participants