title: Programmatically register a broadcast receiver
body: <p>I'd like to know what is the best practice/way of programmatically register a broadcast receiver. I want to register specific receivers according to user choice.</p>
  
  <p>As the registration is done through the manifest file, I'm wondering if there's a proper way to achieve this in code.</p>