title: Detect user activity (running, cycling, driving) using Android
body: <p>Using my Android device how can I detect if the user is walking, cycling or driving?
  I have checked the <a href="https://play.google.com/store/apps/details?id=com.google.android.apps.fitness">Google Fit app.</a> It differentiates between running, cycling and driving. I am puzzled about what algorithms I should use to differentiate between these activities.</p>
  
  <p>I know I would have to use the accelerometer sensor. But still I can't differentiate these activities.</p>