如何在 Android >= API 级别 7 上启动文件浏览的默认应用程序? Android 中没有这样的应用程序,那么是否有类似android.intent.action.fileexplore
的Intent?如何查看是否安装了可以显示文件夹内容的应用程序?我怎样才能与它“交谈”?
非常感谢!
body 健康
S.
最佳答案
how can I fire the default app for file browsing on Android >= API level 7?
Android中没有这个概念。
There is no app like this that comes with Android, so is there an Intent like android.intent.action.fileexplore?
没有。
How can I find out whether an application is installed that can display the contents of a folder?
您可以尝试使用 ACTION_PICK
Intent
和指向相关文件夹的 Uri
,但我猜 99.9% 的 Android 设备将不会有任何响应此 Intent
。
关于android - 如何了解 Android 中的标准应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6049666/