private String isRoot(){ String bool = "Root:false"; try{ if ((!new File("/system/bin/su").exists()) && (!new File("/system/xbin/su").exists())){ bool ...
private String isRoot(){
String bool = "Root:false";
try{
if ((!new File("/system/bin/su").exists()) && (!new File("/system/xbin/su").exists())){
bool = "Root:false";
} else {
bool = "Root:true";
}
} catch (Exception e) {
}
return bool;
}