title: How do I set a broadcast receiver
body: <p>I want to set a broadcast receiver to run some function when it gets the broadcast message, in this example, I want to catch the download's manager intent:</p>
  
  <pre><code>DownloadManager.ACTION_DOWNLOAD_COMPLETE
  </code></pre>
  
  <p>I looked at the Android API examples and haven't found a way to do this</p>