文件名称:RootCheck

  • 所属分类:
  • android开发
  • 资源属性:
  • [Android] [Java] [源码]
  • 上传时间:
  • 2016-07-08
  • 文件大小:
  • 2.58mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 陈*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

检测手机是否Root源码判断安卓手机是否root有三种方式,本源码是第三种方式。



第一种:

Android可以直接运行一个底层命令,来判断是否root,但是这会带来一个问题,每次判断是否root都会弹出一个root请求框。这是十分不友好的一种交互方式,而且,用户如果选择取消,有部分手机是判断为非root的。这种方式的特点是交互不友好,而且有误判。



第二种:

一般root手机都会有一些的特殊文件夹,比如/system/bin/su,/system/xbin/su,里面存放有相关的权限控制文件。因此只要手机中有一个文件夹存在就判断这个手机root了。然后经过测试,这种方法在大部分手机都可行。这种方式的特点是交互友好,但是有误判。-Detection of mobile phone is Root source to determine whether the Android mobile phone root there are three ways, the source is the third way.

First kind:

Android can directly run a bottom command, to determine whether the root, but this will bring a problem, each time to determine whether the root will pop up a root request box. This is a very unfriendly way of interaction, but also, if the user choose to cancel, there is a part of the phone is judged to be non root. This approach is characterized by the interaction is not friendly, and there is a miscarriage of justice.

Second species:

General root phone will have a number of special folders, such as /system/xbin/su, /system/bin/su, which is stored in the relevant permissions control file. So as long as there is a folder on the phone to determine the existence of this phone root. And then tested, this method is feasible in most mobile phones. This approach is characterized by a friendly interaction, but there is a miscarriage of
(系统自动生成,下载前可以参看下载内容)

下载文件列表





RootCheck

.........\.classpath

.........\.project

.........\.settings

.........\.........\org.eclipse.core.resources.prefs

.........\AndroidManifest.xml

.........\assets

.........\bin

.........\...\AndroidManifest.xml

.........\...\classes

.........\...\.......\com

.........\...\.......\...\example

.........\...\.......\...\.......\rootcheck

.........\...\.......\...\.......\.........\BuildConfig.class

.........\...\.......\...\.......\.........\MainActivity.class

.........\...\.......\...\.......\.........\R$attr.class

.........\...\.......\...\.......\.........\R$dimen.class

.........\...\.......\...\.......\.........\R$drawable.class

.........\...\.......\...\.......\.........\R$id.class

.........\...\.......\...\.......\.........\R$layout.class

.........\...\.......\...\.......\.........\R$menu.class

.........\...\.......\...\.......\.........\R$string.class

.........\...\.......\...\.......\.........\R.class

.........\...\.......\...\.......\.........\utils

.........\...\.......\...\.......\.........\.....\RootUtil.class

.........\...\.......\...\.......\.........\.....\ShellUtils$CommandResult.class

.........\...\.......\...\.......\.........\.....\ShellUtils.class

.........\...\classes.dex

.........\...\dexedLibs

.........\...\.........\android-support-v4-252033f44e39b9489328e2b21dfdd225.jar

.........\...\.........\android-support-v4-2b20fd8330343b7699e1c37afbf2d89a.jar

.........\...\.........\android-support-v4-852b1262a7beb251e4798884e498beaf.jar

.........\...\.........\android-support-v4-ffd1ec8daaf7443e932fee4f1046688a.jar

.........\...\.........\android-support-v7-appcompat-393a6d982fc5df521c0af3e2d2893b0e.jar

.........\...\.........\appcompat_v7_2-3fd06b6eeca85f1f1c16666624e93e04.jar

.........\...\jarlist.cache

.........\...\R.txt

.........\...\res

.........\...\...\crunch

.........\...\...\......\drawable-hdpi

.........\...\...\......\.............\ic_launcher.png

.........\...\...\......\drawable-mdpi

.........\...\...\......\.............\ic_launcher.png

.........\...\...\......\drawable-xhdpi

.........\...\...\......\..............\ic_launcher.png

.........\...\...\......\drawable-xxhdpi

.........\...\...\......\...............\ic_launcher.png

.........\...\resources.ap_

.........\...\RootCheck.apk

.........\gen

.........\...\com

.........\...\...\example

.........\...\...\.......\rootcheck

.........\...\...\.......\.........\BuildConfig.java

.........\...\...\.......\.........\R.java

.........\ic_launcher-web.png

.........\libs

.........\....\android-support-v4.jar

.........\lint.xml

.........\proguard-project.txt

.........\project.properties

.........\res

.........\...\drawable-hdpi

.........\...\.............\ic_launcher.png

.........\...\drawable-ldpi

.........\...\drawable-mdpi

.........\...\.............\ic_launcher.png

.........\...\drawable-xhdpi

.........\...\..............\ic_launcher.png

.........\...\drawable-xxhdpi

.........\...\...............\ic_launcher.png

.........\...\layout

.........\...\......\activity_main.xml

.........\...\menu

.........\...\....\main.xml

.........\...\values

.........\...\......\dimens.xml

.........\...\......\strings.xml

.........\...\values-w820dp

.........\...\.............\dimens.xml

.........\src

.........\...\com

.........\...\...\example

.........\...\...\.......\rootcheck

.........\...\...\.......\.........\MainActivity.java

.........\...\...\.......\.........\utils

.........\...\...\.......\.........\.....\RootUtil.java

.........\...\...\.......\.........\.....\ShellUtils.java

.........\说明.htm

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org