Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将下载的文件安全地存储在 Android 设备上,我不想使用加密。我该怎么做?
我可以将Context.getDir()与 MOD_PRIVATE 一起使用吗?为什么不 ?
为了保护数据免受不必要的访问,您需要加密。所以,不,你不能
我可以将 Context.getDir() 与 MOD_PRIVATE 一起使用吗?
该目录已经是私有的。
我想下载 .apk 文件并以编程方式安装
这是不可能的,除非安装程序可以访问该文件,这只有在您使该文件对世界可读的情况下才有可能。