With ActivityTask your smartphone can detect when you are in a vehicle, on foot, on bike, still or if the phone is tilting. See the video tutorial to understand how it works.
Note1: If it doesn't work for you, check the location settings. Change "device only" to "high accuracy" or "battery saving".
Note2: Be sure to have installed Google Play Services 4.4
Note3: To start/stop the process you have to create a Tasker task with the plug action
Please send me an email if you have problem before give a bad review.
Locale or Tasker or AutoMagic or Easy Profiles intalled
%atactivity: The activity detected,
%atconf: The confidence level for the detected activity.