自动安装Android应用程序
当我下载 apk 文件时,我需要先保存它才能安装。有没有办法不保存直接安装?我需要对 AndroidManifest.xml 进行任何更改吗?
When I download a apk file I need to first save it before I can install. Is there anyway to dirctly install it without saving? Do I need to make any changes in the AndroidManifest.xml?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它认为清单文件在这里没有任何权力。由操作系统来执行此操作。并且它认为(作为用户)下载的内容一定不会导致下载的程序的自动安装。
It think what manifest file hasn't any power here. It is up to OS to do this. And it think (as a user) what download must not lead to auto installation of downloaded program.
AFAIK,应用程序在安装时不会被提取,但整个 APK 会作为独立的应用程序进行反应。因此,您必须保留 APK 才能使用该应用程序。如果您保留它,那么下载它是唯一的选择。
AFAIK, an app is not extracted when it is installed, but the whole APK reacts as the self contained application. Thus, you must keep the APK in order to use the application. And if you're keeping it, then downloading it is the only option.