Android 11-从下载导入非媒体文件

发布于 2025-01-24 13:31:34 字数 244 浏览 5 评论 0原文

我们的Android业务应用程序可以导出数据并通过电子邮件将其发送给客户。客户打开电子邮件并下载附件“下载”文件夹。现在,客户方面的业务应用程序必须获取下载的数据文件并导入它。 Google Play阻止标准应用程序的直接文件访问,我们必须使用SAF。但是,SAF无法从下载文件夹访问非媒体文件。我是否必须告诉所有客户,他们必须使用外部文件管理器手动复制/粘贴下载的文件到我们的业务应用程序可以读取的文件夹?还是有某种方法可以使用SAF或类似方式从下载文件夹访问非媒体文件?

Our android business application can export data and send them through email to customer. Customer opens email and downloads attachment to "Download" folder. Now business application on customer side must take downloaded data file and import it. Google play blocks direct file access for standard applications, we must use SAF. However, SAF cannot access non media files from Download folder. Do I must to tell to all customers that they must manually copy/paste downloaded file using external file manager to the folder which our business application can read? Or is there some way how to access non media files from Download folder using SAF or similar way?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文