Sensor based android pedometer