xiaobailook

 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;

    }

分类:

技术点:

相关文章: