Can my app receive notification, when it is closed by system?
<p>When my android app goes to background, it may be closed by system to reclaim resources. Can I detect this moment and run some code? Is there any notification (method called) when it happens?</p>
