title: Listening for ACTION_SCREEN_OFF
body: <p>I'm trying to start a service that runs in the background that is listening for <code>ACTION_SCREEN_OFF</code> and when it finds <code>ACTION_SCREEN_OFF</code>, starts my activity.</p>
  
  <p>I read somewhere you need to create a <em>BroadcastReceiver</em> because putting it in the manifest XML doesn't work. However I have no idea where to get started after much searching.</p>