kill a system persistent process in android -
is there way in android system stop system persistent process such com.android.phone temporarily, tried (android.os.process.killprocess) in loop without success.
thanks in advance,
edit: root privileges unable achieve
tel= android.os.process.phone_uid; process su = runtime.getruntime().exec( "su" ); process kil = runtime.getruntime().exec("kill -9 tell");
edit: whoops, mark murphy beat me it. :)
can't done unless have root access on device.
http://developer.android.com/reference/android/os/process.html#killprocess(int)
kill process given pid. note that, though api allows request kill process based on pid, kernel still impose standard restrictions on pids able kill. typically means process running caller's packages/application , additional processes created app; packages sharing common uid able kill each other's processes.
Comments
Post a Comment