Step counter.

Im planning a game, for smartphones, that uses real world movement (running, jogging, walking, ect) as a motivator. And to do this I was hoping to tap into the phones step counter and use that number as an in game variable. Is this possible? If so could someone please point me in the direction I need to look. Thanks in advance.
That is not possible by default, but if there is a way to access that data by javascript/browser, then someone could write a plugin for that.

So you have to check the mobile's operating system - does it have a command to read that data from javascript, yes or no?

Moved to: plugin Request
Thanks so much for the quick response! I'll start looking into that!
I feel irresponsible redirecting you to a link you've probably already found on Google, but https://code.google.com/p/pedometer/

There is some heavy math that goes into this step counter stuff; it's out of my league.
Thank you so much Mogwai! Now I know it is possible! This helps a lot!
https://www.javascripting.com/view/shake-js
This library may be of use to you...It just counts everytime a phone shakes while walking, and could probably be interfaced with MV.
Hi! Were you ever successful in implementing the step counter?

Xignotus, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/step-counter.76276/