title: Android: Background Service won't stop
body: <p>Greetings,</p>
  
  <p>I have the following service running in the background:</p>
  
  <p><a href="https://gist.github.com/807968" rel="nofollow">https://gist.github.com/807968</a></p>
  
  <p>When I close the application, the user is asked if they'd like to continue to upload their GPS coordinates in the background. When 'Yes' is clicked, the service works just fine. When 'No' is clicked, the app shuts down as expected, but it still uploads the GPS coordinates in the background! I can even see the little GPS icon in the status bar of my Android phone. I expect to see a "Stopped" Toast, but it never appears...</p>
  
  <p>Anyone got any ideas?</p>
  
  <p>Many thanks in advance,</p>