选择在Android设备上的文件夹 [英] Choose folder on Android device

查看:167
本文介绍了选择在Android设备上的文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想,让用户选择目录并保存下载的文件(我的应用程序文件下载)。  我知道有些工具(例如,ES文件浏览器)提供了这样的意图过滤器。 看<一href="http://www.estrongs.com/en/support/developers.html">http://www.estrongs.com/en/support/developers.html.我开始对结果的活动,然后获得选择的文件夹结果。

I would like to let user pick directory and save downloaded file (my app downloads file). I know that some tools (for example, ES File Explorer) provide such intent-filters. see http://www.estrongs.com/en/support/developers.html. I start activity for result and then get selected folder as a result.

另外,我知道有没有选择文件夹意图标准(我不能用同样的意图与其他工具)。你知不知道其他工具来支持这样的功能?我想,让用户使用自己的工具,而不是ES文件管理器。

Also, I know that there are no "select folder" intent standards (I can't use the same intent with other tools). Do you know other tools to support such functionality ? I would like to let user use his tool, not ES File Manager.

此外,没有天文提供这样的意图过滤器?我找不到他们的网页此信息。 (我觉得天文是最常用的文件管理器Android版)

Also, does Astro provide such intent filters? I can't find this info on their page. (I think astro is the most used file manager for android)

推荐答案

我最近遇到一些可能潜在有所帮助: http://www.openintents.org/en/node/159

I've recently come across something that might potentially help here: http://www.openintents.org/en/node/159

它有一个演示应用程序展示它如何与第三方应用程序的文件/目录选择器进行交互。

It has a demo application showing how it can interact with third party applications as a file/directory picker.

这是说,我还没有尝试过呢。我碰到这个问题,迷迷糊糊,因为我仍然在寻找其他的选择。

That said, I have not tried it yet. I stumbled across this question as I am still looking for other options.

编辑:实际上,它看起来非常相似,您的ES文件管理器链接。也许这只是一个克隆。

actually, it looks very similar to your ES File Manager link. Perhaps it is merely a clone.

这篇关于选择在Android设备上的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆