returns information on the active network connection concode_field_sep int TYPE_UNKNOWN concode_field_sep boolean isWiFiConnected concode_elem_sep boolean isAirplaneModeOn concode_elem_sep boolean checkConnection concode_elem_sep boolean isNetworkAvailable concode_elem_sep int getActiveNetworkType
NetworkInfo function ( Context arg0 ) { if ( arg0 == null ) { return null ; } ConnectivityManager loc0 = ( ConnectivityManager ) arg0 . getSystemService ( Context . CONNECTIVITY_SERVICE ) ; if ( loc0 == null ) { return null ; } return loc0 . getActiveNetworkInfo ( ) ; }