曙光XK

2015年12月31日

Android 获取网络状态

摘要: 1.检测网络是否可用public boolean isNetWorkConnected() { ConnectivityManager cm = (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); Ne... 阅读全文

posted @ 2015-12-31 09:54 曙光XK 阅读(459) 评论(0) 推荐(0) 编辑

导航