title: How to stop my android NFC scanning when I close an activity?
body: <p>I'm developing an app about nfc scanning. It will start the activity anyway when it close to NFC tags(even the app is not running).
   Now i want the app start NFC scanning when i open the app, and close sanning when i close an activity. Simply speaking, i want to add a controller for NFC scanning.</p>