程序中如何获取Android的Root权限

Process process = null;  
 try{  
 process = Runtime.getRuntime().exec("su");   
//这里是主要程序代码ATAAW.COM  
 process.waitFor();  
 }
catch(Exception e){
      
e.printStackTrace(); 
  }
finally { 
     process.destroy(); 
  }
转自:
http://disanji.net/2011/01/06/android-root-permission/

posted @ 2011-08-26 17:32  老码农豆豆  阅读(678)  评论(0编辑  收藏  举报