Lately, I have been working with java, Android Studio and Android sensors in general. What I want to ask is why some applications which are using the so-called accelerometer are incompatible with my phone. For example, I can install S Health and Runtastic on my phone but I can't install Pedometer (GitHub link: here). They are all based on the same sensor that I have - accelerometer, so I can't understand why I can't run Pedometer. My phone is Lenovo Vibe K5, Android version 5.1.1 Lolipop.
Pedometer requires the
Step Counter sensor, and it is not available at the [Lenovo Vibe k5] (http://www.phonearena.com/phones/Lenovo-Vibe-K5-Plus_id9976) as you can see here. That why, the application is not available for your device.