The Sensors used are Step Counter and Step Detector, which are handled by the Service running in the background. The Service updates the Sensor value data to be sent to the Activity every second, finally the broadcasted data from the Service to the Activity is displayed by the Activity.