title: Flex 4.5 - Android application keeps running in background, How can I shut it down?
body: <p>I am building an Android application in Flex 4.5 and I am testing on a Samsung Galaxy S phone.
  My application uses GPS and also Google maps.</p>
  
  <p>When I run the application, and I try to close it, the application keeps on running in the background. I would like the application to stop when the user presses the device's home button or when the user clicks the back button until they leave the application.</p>
  
  <p>How can I make the application shut down in both the cases?</p>