Android的:找到一个目录 [英] Android: finding a directory

查看:129
本文介绍了Android的:找到一个目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法找到在Android中一个特定的目录/搜索?像一个用户已与在任何位置MyHolidayVideos的名称的目录。我想我的应用程序,找出该文件夹中。有什么办法来搜索目录,找到该文件夹​​的位置(MyHolidayVideos等)..
我会感激,如果有人能帮助我在这里。
谢谢

Is there any way to find / search for a particular directory in Android? Like a user has made a directory with the name of MyHolidayVideos at any location. I want my application to find out where that folder is. Is there any way to search directories and find the location of the folder (MyHolidayVideos etc).. I shall be thankful if someone can help me here. Thanks

推荐答案

数据存储开发指南有你需要的信息开始。具体来说使用内部存储并的使用外部存储部分和的文件 API。

The Data Storage Dev Guide has the information you need to get started. Specifically Using the Internal Storage and Using the External Storage sections and the File API.

这篇关于Android的:找到一个目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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