Tuesday, August 24, 2010

Re: [android-developers] get files under certain directory

On Tue, Aug 24, 2010 at 7:49 PM, billconan <billconan@gmail.com> wrote:
> i want to get all the files under certain directory on the sd card.
>
> can you point me to the correct function?

Environment.getExternalStorageDirectory() to get a File at the root of
the external storage (possibly the SD card). From there, it is
standard Java file I/O (e.g., getFiles()).

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate