A step counter on Android platform