Hi i am trying to understand Broadcast Receiver , i went through many sample codes , but still have some doubts. I wanted to know when we have to extend the Broadcast Receiv
In both case you are creating object.But in first case there is not any reference for the receiver object so it can not be unregistered later but second one has so it can be unregistered after registering object using below methods:
registerReceiver(intentReceiver );
unregisterReceiver(intentReceiver );