Code example for ConnectivityManager

Methods: getNetworkInfo