Android code to detect human steps and estimate stride length