I created an Android application for detecting an Internet connection with the intent filter "android.net.conn.CONNECTIVITY_CHANGE" and I get a callback in myBroadcastReceiver when Wi-Fi is connected and disconnected, but I want to receive callbacks when wifi gets authorization a when not? Like we have cyberoam, which will restrict access to the Internet until we give us our authority, so how can I get a notification when I am authorized to access the Internet, and when not?
source
share