4

How to block installation of other application using device administrator app in android. How can we code it to restrict the installation of the application using device administration application?

please help me out.

4

2 回答 2

1

据我所知,对于 ICS (<= 3.2) 的 android 版本,您的应用程序(设备管理员)无法阻止安装其他应用程序。即使安装/卸载了新应用程序,您也只能处理。

于 2012-06-13T18:42:28.783 回答
0

我想您应该为此操作创建一个接收器 android.app.action.ACTION_INSTALL_PACKAGE检查该程序包是否是您要阻止的程序包,还请按照 Android 页面上有关如何创建设备管理应用程序的说明进行操作

于 2012-05-18T13:47:39.320 回答