I know we can register a broadcast receiver at runtime with registerreceiver()
method and then later unregister it with unregisterreceiver()
.
I remember reading about a method which will make our receiver the only receiver i.e. only our receiver will receive broadcasts on that particular action . Is there any method like this ?
Also is there a way of knowing if the particular receiver is registered or not ?
Any help is appreciated .