如何冻结植根Android设备上的应用程序 [英] How to freeze applications on rooted android device

查看:177
本文介绍了如何冻结植根Android设备上的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么能冻结/解冻像植根设备上的应用程序的钛备份应用程序,以便让我的应用程序的非accessable从植根设备。任何方法跟踪设备是否是植根或不?

How can I Freeze/Unfreeze applications on the rooted device like Titanium Backup app so that i make my app non-accessable from a rooted device. Any method to trace whether the device is rooted or not?

推荐答案

我使用RootTools库去做禁用/启用命令

i am using RootTools library to do disable/enable command

CommandCapture command_enable = new CommandCapture(0,"pm enable "+ Package_Name);                           
RootTools.getShell(true).add(command_enable).waitForFinish();

CommandCapture command_disable = new CommandCapture(0,"pm disable "+ Package_Name);
RootTools.getShell(true).add(command_disable).waitForFinish();

这篇关于如何冻结植根Android设备上的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆