摘要:
/** * 判断系统的网络是否可用 * @return */ private bool isNetworkConnected() { bool net = false; ConnectivityManager connManager = (ConnectivityManager)this.GetSystemService(ConnectivityService); // connManager.ActiveNetworkInfo ==null 手机无法连接网络 if (connManager.ActiveNetworkInfo != null) { //获得 wifi 连接管理 Networ. 阅读全文