How to notify android app about the credential given to cyberoam if wifi is connected? -
i have created android app detecting internet connectivity intent filter "android.net.conn.connectivity_change" , callback in mybroadcastreceiver when wifi connected , disconnected, want callbacks when wifi getting authorized , when not? have cyberoam restrict access internet untill putting our credential, how can notified when authorized accessing internet , when not?
there no android event that. far phone knows connected network. if network not giving access internet matter. best ping known ip address , see if response. don't ping often. else may blocked.
Comments
Post a Comment