My application should count the steps passed by the user. Tell me, what are the algorithms, approaches, API for this?

  • 2
  • Get access to the accelerometer and measure. As I understand it, you want to write your pedometer, because the others are not satisfied with something, so why rely on a ready-made solution? Do the research yourself. - iamthevoid

1 answer 1

The library can help you count the steps: https://github.com/bagilevi/android-pedometer


There is also an official example: https://github.com/googlesamples/android-BatchStepSensor

Sample demonstration of sensor detectors and step counters.

Source 1
Source 2