Closed Wall-Dough closed 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
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.
Here's what we'll ultimately need: Sensor.TYPE_STEP_COUNTER
Needed: Working Pedometer to incorporate sensor.
Done. #65
Pedometer module