如何在iPhone中实现计步器? [英] How to implement pedometer in iphone?

查看:90
本文介绍了如何在iPhone中实现计步器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经实现了一个我希望实现计步器功能的应用程序。是否可以实现计步器?请给我一个想法。

I have implemented one application in which i want to implement pedometer functionality.Is it possible to implement pedometer?Please give me idea.

推荐答案

扩展Ben的答案:您可能想要编写一个应用程序(或使用现有的应用程序),该应用程序连续记录加速度计的数据并显示其图形,然后在您和几个不同的人走路时让该应用程序运行将设备放在口袋里。这应该让你了解你需要寻找的加速模式,以及人们的步幅,步态等可能的变化。

Expanding on Ben's answer: you might want to write an app (or use an existing one) that continuously records the data from the accelerometer and shows a graph thereof, then have that app running while you and a few different people walk around with the device in their pocket. That should give you an idea of the patterns of acceleration you need to be looking for, as well as the variation possible in peoples' stride lengths, gaits, etc.

这篇关于如何在iPhone中实现计步器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆