摘要: public class DeviceInfoUtil { private static WifiManager wifiManager = null; // wifi是否已连接 public static boolean isWifi(Context context) { wifiManager = (WifiManager) context.getS... 阅读全文
posted @ 2016-04-17 17:00 MarcoReus 阅读(691) 评论(0) 推荐(0) 编辑
摘要: public class RuntimeUtil { /** 通过查询su文件的方式判断手机是否root */ public static boolean hasRootedSilent() { return new File("/system/bin/su").exists() || new File("/system/xbin... 阅读全文
posted @ 2016-04-17 16:58 MarcoReus 阅读(773) 评论(0) 推荐(0) 编辑