Android 判断设备是否Root
2014-04-24 18:49
141 查看
public static boolean isRoot() { boolean root = false; try { if ((!new File("/system/bin/su").exists()) && (!new File("/system/xbin/su").exists())) { root = false; } else { root = true; } } catch (Exception e) { } return root; }
相关文章推荐
- 判断android设备是否root
- 判断 Android 设备是否已 ROOT
- 判断android设备(如手机)是否已经ROOT的方法
- Android高手进阶教程(十八)之---列出Android设备中所有启动的服务,及判断某个服务是否开启!
- Android判断是否root
- Android 判断手机是否root
- 列出Android设备中所有启动的服务,及判断某个服务是否开启
- android判断手机是否root
- Android判断当前设备是否联网
- 代码无弹窗判断设备是否root
- Android中判断手机是否已经Root
- 判断Android设备是否连接网络
- 判断Android设备是否支持多点触控
- Android高手进阶教程(十八)之---列出Android设备中所有启动的服务,及判断某个服务是否开启!
- Android----列出设备中所有启动的服务,及判断某个服务是否开启(服务状态)!
- Android判断是否root
- 判断android设备是否支持多点触控
- 判断android设备是否支持多点触控
- Android通过代码判断当前设备是否为模拟器
- Android获取屏幕实际高度跟显示高度,判断Android设备是否拥有虚拟功能键