android - 如何了解 Android 中的标准应用程序?

标签 android android-intent file-browser

如何在 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/

相关文章:

android - DSR 开启。不要在 Android 上发送 DTR

android - ScrollView : check if a view is visible on screen or not

python - 使用 Python/Django 保存/导出文件时打开标准文件浏览器窗口

python - 如何有一个目录对话框

php - 当条件设置时,Android fcm接收来自mysql的通知

java - 视频完成后调用新 Activity

Android:startActivityForResult 的 resultCode 总是为 0?

java - 尝试从 Google 相册应用中选择照片时出现 IllegalStateException

c - 通过用户输入更新 GTK+3 中的面板

c# - 如何使用依赖注入(inject)在 Xamarin.Forms 中实现 Flyoutnavigation