private boolean isMobileNetworkEnabled ( ConnectivityManager connectivityManager ) { final NetworkInfo info = connectivityManager . getNetworkInfo ( ConnectivityManager . TYPE_MOBILE ) ; return ( info != null && info . isConnected ( ) ) ; }
True if mobile network enabled