Nearly every mobile phone has a built-in G-sensor. This may be used while walking or running the candance of the body to be measured.
When combined with the speed or distance the step length can be measured.
For the advanced runners they can evaluate their step length during moving up en down the hills.