I am having the following problem in my app.
In on resume of my activity I register a broadcast receiver using this:
NetworkStateReceivernetworkStateReceiver = new NetworkStateReceiver(UIWrapperActivity.this);
filterConnectivity = new IntentFilter();
I eventually found out what I was doing wrong so if someone gets this same error, here is the solution.
I didn't finish the activity when I caught intent broadcast in the receiver so keep an eye out for that because if activity is still alive then it calls it's
onResume() again and receiver gets re-registered.