Android process killer

前端 未结 3 2158
礼貌的吻别
礼貌的吻别 2020-11-29 02:25

Maybe you can help.

Is it possible to get list of all Processes which are running in the Android system, and kill some of them? I know that there are so

3条回答
  •  余生分开走
    2020-11-29 03:12

        // Get currently running application processes
        List list = servMng.getRunningAppProcesses();
        if(list != null){
         for(int i=0;i list = servMng.getRunningServices(1024);
        if(list != null){
         for(int i=0;i list = servMng.getRunningTasks(1024);
        if(list != null){
         for(int i=0;i

提交回复
热议问题