On Tue, Aug 24, 2010 at 7:49 PM, billconan <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

