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.
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.
据我所知,对于 ICS (<= 3.2) 的 android 版本,您的应用程序(设备管理员)无法阻止安装其他应用程序。即使安装/卸载了新应用程序,您也只能处理。
我想您应该为此操作创建一个接收器 android.app.action.ACTION_INSTALL_PACKAGE
检查该程序包是否是您要阻止的程序包,还请按照 Android 页面上有关如何创建设备管理应用程序的说明进行操作