There is a problem, I want to monitor internet connection.
There is good way with BradcastReceiver witch handles android.net.conn.CONNECTIVITY_CHANGE action. But this is not enough.
I want to know when internet is reachable. For example: If I disconnect wan wire from the router, I want that my app notice it and tell me that I am "Offline" despite wifi is connected.
So, is there some default android solution, or should I make thread witch repeatedly ping to some host? Or maybe something else?
Thanks