title: Continuously running an app
body: <p>I am making an Android app which is supposed to monitor the other running apps. </p>
  
  <p>The question is, how do I make my app run <em>continuously</em> from when i first activate it. It should also start running by itself when I <strong>switch off and reboot</strong> the phone.</p>
  
  <p>Any suggestions on how to ensure this? I am considering using a background thread but I am not convinced this alone will suffice.</p>