https://corneliashine.blogspot.com/2021/03/android-step-counter-tutorial.html
Android Step Counter Tutorial