title: Android - unregisterReceiver concept in detail?
body: <p>I am confused with <code>unregisterReceiver()</code>. Is it mandatory to unregister a receiver if we have registered it earlier in our code. I have seen that sometime we don't unregister it and still everything works fine but sometime we need to unregister it in order to get rid of run time exception.</p>
  
  <p>Please explain the concept in detail and if possible with example. I have tried reading few books but none of them has explained it so if you know some book which could have a great explanation about it, let me know.</p>
  
  <p>I would really appreciate your efforts.</p>
  
  <p>Thanks.</p>