I am developing some application like Runtastic Pedometer using the algorithm but I am not getting any similarity between the results.
my code is as follows:
https://github.com/bagilevi/android-pedometer
i hope this might be helpfull