机器人:安装应用程序,而无需用户干预机器人、应用程序、用户

2023-09-04 05:11:34 作者:████←刮开有奖

我要安装在Android上的应用程序,而无需用户干预。我使用的权限 INSTALL_PACKAGES ,我安装在/下载/文件夹中的应用程序。一旦下载完成后,会出现一个对话框,询问我安装的应用程序。如何隐藏该对话框并安装应用程序而无需用户干预?

I want to install an application on Android without user intervention. I am using the permission INSTALL_PACKAGES and I am installing the app in the "/download/" folder. Once the download is finished, a dialog box appears asking me to install the app. How to hide this dialog and install the application without user intervention?

推荐答案

对不起,您不能。 Android框架不会允许你这样做。 Android有一个一定的限制安全目的,不要试图去打破它。

Sorry, You can't. Android framework doesn't allowed you to do that. Android has a some restriction for Security Purpose, don't try to break it.