对 Android 的“preferExternal”感到困惑清单过滤器
Android 文档说:
.apk文件保存到外部 存储,但任何应用程序数据 (例如数据库)仍然保存在 内部设备内存。
所以我的假设是 /raw 或其他资源中的任何内容都会随 apk 一起存储到外部存储中,是吗?
另外,从市场下载的内容是否直接进入外部存储,或者您是否必须在内部存储上为应用程序留出空间,以便它可以下载它并在下载完成后移动它?
The Android docs say:
The .apk file is saved to the external
storage, but any application data
(such as databases) is still saved on
the internal device memory.
So what I'm supposing is that anything in your /raw or other resource goes with the the apk onto external storage, eh?
Also, does the download from the Market go straight to external storage, or do you have to have room for the app on internal storage so that it can download it and them move it when the download is complete?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为最好的选择是使用“自动”。
有时,使用preferExternal会导致安装过程中出现问题。
尝试在外部存储器上安装应用程序时系统崩溃(例如,当未插入 SD 卡时)。
所以最好的选择是“自动”,至少在我看来。
希望有帮助,
再见
I think that the best option is to use "auto".
Sometimes, using preferExternal causes problem during installation.
The system crashed trying to install the application on external memory (eg when the sd card isn't plugged in).
So the best choice is "auto", at least in my opinion.
Hope it helps,
Bye