title: Counting steps using accelerometer or gyroscope
body: <p>I am developing an application to count the steps of the user while putting the phone in the pocket of his pants.
  And I need to know which is better to use, Should I use the accelerometer Sensor or the GyroScope sensor.
  Also I have tried the accelerometer sensor, and it worked but I'm asking to check whether the GyroScope is more accurate to this function or the accelerometer?
  Thanks in advance for help.</p>