ScienceSquad / Health

The next generation health assistant.
http://sciencesquad.github.io/Health
4 stars 1 forks source link

Keep count of total steps taken #4

Closed Wall-Dough closed 8 years ago

Wall-Dough commented 8 years ago

Pedometer module


Brahmancer commented 8 years ago

There's a open-source pedometer that can be used as a possible jump-off point to implementing our own. https://github.com/bagilevi/android-pedometer

avaidyam commented 8 years ago

Even better is that we can use sample code that hooks into the hardware step sensors. Though the code you linked is usable, it's really convoluted and written badly so it wouldn't make sense to integrate it.

avaidyam commented 8 years ago

Here's what we'll ultimately need: Sensor.TYPE_STEP_COUNTER

Brahmancer commented 8 years ago

Needed: Working Pedometer to incorporate sensor.

avaidyam commented 8 years ago

Done. #65