Sleep mode detection
<p>Devices use to go into a "sleep" mode and it results in launching my activity's onCreate() method once again, which isn't desired.</p>

<p>For instance, I have an activity with VideoView which gets initialized in onCreate method, so when a device "sleeps" it recreates my player and launches player.</p>

<p>How to overcome this ? Is it related to system broadcasts ?</p>
