I have asked the following quoted question but found that all working gone in vain as android is now not allowing to register the broadcast for network changes.
You can not do it in Manifest where as you can still get calls when you register it in your Activity and that context is still alive .
Now I have implemented in my activity and I am getting my broadcast receivers call and all is working as expected. But when I do start my activity , I received the call automatically. Can not I just skipp that thing on activity start ?
here is my old question that I have asked in this thread:
I have an application where I have implemented the BroadcastReceiver for the Network changes.
It alerts me when there is any change in the network connection, Like the network gets disconnected, the network gets connected, the network gets changed etc
But I have observe that it does not alert me when the Wifi is connected but the Internet goes off from that network.
Is there something to check such case and can we make broadcast for it ??
I have searched alot but did not get any answer of this. I hope I made myself quiet clear about my requirements.