5
Süper uygulaması telefonumda yüklü bulundu, ancak aşağıdaki hatayı içeren bir süper isteği yapmak için çalışırken benim app düşer değil:Süper aktivite
18820-18820/com.anth.res E/AndroidRuntime: FATAL EXCEPTION: main
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=act=android.intent.action.superuser (has extras) }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1512)
...
burada benim faaliyetinden cide yapma isteği:
command = "su -c \""+command+"\"";
Intent intent = new Intent("android.intent.action.superuser"); // superuser request
intent.putExtra("name", getResources().getString(R.string.app_name)); // tell Superuser the name of the requesting app
intent.putExtra("packagename", "com.anth.res"); // tel Superuser the name of the requesting package
startActivityForResult(intent, SU_REQUEST); // make the request!
Bunu görmek gerekebilir: http://stackoverflow.com/questions/3988454/request-superuser-rights-to-edit-file –