I don\'t want my user to even try downloading something unless they have Wi-Fi connected. However, I can only seem to be able to tell if Wi-Fi is enabled, but they could sti
Try
wifiManager.getConnectionInfo().getIpAddress()
This returns 0 until the device has a usable connection (on my machine, a Samsung SM-T280, Android 5.1.1).