cost 343 ms
使用 OpenDocumentTree 在选定目录中写入一个新文件:在路径中转换 Uri - Write a new file in selected directory with OpenDocumentTree: transform Uri in path

我的应用程序必须在用户选择的目录中保存一个新的 excel 文件。 用户 select 目录用 OpenDocumentTree picker 目录选取器。 此意图返回一个 Uri。 我无法在写入 function 的路径中转换 Uri。我该怎么做? 非常感谢。 …… 我尝试实施来自 stack ...

如何使用 Scoped Storage 访问特定文件夹并将文件写入其中 - How to gain access to a specific folder and write a file into it using Scoped Storage

我的应用程序具有将 txt 格式的 GPS 数据导出到共享文件夹(现在使用getExternalStorageDirectory访问)的功能,我必须将其切换到 Scoped Storage (API 30)。 (作为信息,该应用程序是适用于 Android 的开源GPS 记录器。) 将来我会让用 ...

有什么方法可以在 ACTION_OPEN_DOCUMENT_TREE 上添加自定义额外信息 - is there any way to add custom extra infomation on ACTION_OPEN_DOCUMENT_TREE

我必须向用户询问要保存文件的文件夹的名称。 我还必须发送与应该保存的文件名相关的信息。 有没有办法将这些信息与意图一起发送? 如果我这样做: 在 onActivityResult 我看不到任何额外的信息 data.getExtras 始终为 null ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM