Facing problem with Rooted issue in Android [duplicate]
Possible Duplicate:
Root permission with Android SDK
Android application is not getting root access though device is rooted. Is there any possible way for android apk to get root permissions ???
refer: How can I get root permissions through the Android SDK?
Process root = Runtime.getRuntime().exec("bla");
That causes SuperUser to show, which lets you either Allow or Block it from root access. This approach might not work if the user is not rooted.
精彩评论