title: Tapping into a phone's sensors to detect movement and stoppage
body: <p>I'm a beginner with Android development. I noticed that my Nexus 5 can detected when I'm moving and when I'm stopped. I want to build an app that detects when I'm moving but when I've stopped and walked a few feet away from where I stopped, I want it to send a notification.</p>
  
  <p>I know the sensors detect that I'm driving with a few seconds but I don't know if it detects that driving has stopped as quickly. I know that android has motion sensors APIs but I don't know which sensor to use and what sensor type is best for this type of movement detection.</p>
  
  <p>I also know I would have to use GPS Permissions or whatever but I was wondering if anyone knew more about how I can approach this. "Approach" is not the best word since it makes it look like I'm trying to get people to help me solve this problem but I don't know how to word it.</p>
  
  <p>Any help is appreciated.</p>