title: Calculating user moving speed in android
body: <p>I need to calculate <em>Speed with which the user is moving</em>. So we need two things to calculate speed which are <code>GPS</code> and <code>Accelerometer</code>.</p>
  
  <p>But both have their limitations.</p>
  
  <p>1)<code>GPS</code> is not available all the time.While I getting the current location of user always I am              getting from <code>Network provider</code> only and not from <code>GPS</code>.</p>
  
  <p>2)<code>Accelerometer</code> is not accurate.</p>
  
  <p>So which approach should I go with?</p>