check if there is any connectivity to a mobile network concode_field_sep boolean isServerAviable concode_field_sep NetworkInfo getNetworkInfo concode_elem_sep boolean isConnected concode_elem_sep boolean isConnectedWifi concode_elem_sep boolean isConnectedFast concode_elem_sep boolean isConnectionFast
boolean function ( Context arg0 ) { NetworkInfo loc0 = getNetworkInfo ( arg0 ) ; return ( loc0 != null && loc0 . isConnected ( ) && loc0 . getType ( ) == ConnectivityManager . TYPE_MOBILE ) ; }