如何在外部应用 android 中打开存储在应用特定存储中的文件?

How open file stored in app specific storage in external app android?

我在应用程序专用存储中存储了 pdf 和 ppt 等文件。现在我想在外部应用程序上打开这些文件。

当我尝试使用 Intent 打开文件时出现异常:通过 ClipData.Item.getUri()

暴露在应用之外

我该怎么做?

提前致谢:)

由于我看不到您试图从外部应用程序打开文件的代码,我只能建议您按照 [=] 的建议将您的应用程序特定数据保存在外部目录的共享存储中18=] 文档。

我会推荐这个Save data to app specific location

Save data to shared storage