Preventing Lock screen when phone restarts, so app can run immediately
<p>I've finally got a lot of my app working over the last few weeks. The app is supposed to run at bootup, which it does. But the Lock screen that appears, when the phone restarts (say after the battery running out), prevents that from happening.</p>

<p>What setting or code can i use to prevent the phone starting with Lock screen?</p>
