从Android应用程序内的APK安装 [英] Installing apk from within application in android

查看:103
本文介绍了从Android应用程序内的APK安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要下载并安装服务器的apk到设备,我试图做这个任务,但它要求用户权限,如英索尔,取消。如果点击安装,然后正常工作和安装,但我不需要这个权限,因为我是从服务器上安装APK 30

I need to downloads and install apk from server to devices and i tried to do this task but it ask for user permission like "Insall" , "Cancel" . and if hits "Install" then it works fine and installed but i dont need this permission as i am to install 30 apk from server .

先谢谢了。

推荐答案

了Android的安全模型不会让你做这样的事情,而无需用户交互。这可能是,如果特定的手机扎根,但我认为你不能依靠这一点。

The security model of android won't let you do such things without user interaction. It could be, if the particular phone was rooted, but I think you can't rely on that.

这篇关于从Android应用程序内的APK安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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