public boolean requestRouteToHost (int networkType, int hostAddress)
This method in ConnectivityManager if used with networkType set to wifi interface always returns false.
requestRouteToHost android says it was never implemented for the wifi interface.
Even InetAddress.isReachable() always returns false for publicservers like google.com, java.com
Is there any specific reason why they fail? The only way I could test if there was connectivity was by executing the "ping" by using runtime exec().