Can I get file list in directory?

Hi.
How can I know what's files in [system.DocumentsDirectory]?
I want get files name list at directory (at Android SD card). thanks.

What is in "DocumentsDirectory"? Whatever you put inside. There is nothing else, as your application is sandboxed.

To answer your quesiton, no there is now way to access the list of files inside a directory. And frankly, there is absolutely no need to.

thank you for your reply.
I want access Android SD card Directory.
I want get picture file list there are take by digital camera.
Can I get these?

@dora1999 Are you taking a picture with the camera in your app, or just trying to get to the Sd card for a file you think might exist?

Oh and I can think of a few reasons why I would want a file list of what is in a directory...

Hi.
Yes I want take file list at [trying to get to the Sd card for a file ].
Other Camera device's picture files I want to copy for my App.

frankly, there is absolutely no need to.

There's no need to list the files in your documents directory because the only files in there are the ones you put there. However if you can access other directories (I know nothing about that) then a file list would be very helpful.

views:1188 update:2011/10/3 8:06:12
corona forums © 2003-2011