How to detect that my application's UI has moved to background?
<p>Is there a universal way to be aware of application switching to background by either pressing "back", "home" or selecting one of other previously opened apps?</p>
