Hi.
How can I know what's files in [system.DocumentsDirectory]?
I want get files name list at directory (at Android SD card). thanks.
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Can I get file list in directory?
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.
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
Ansca iPad giveaway
math.random bug?
How to determine scale factor
Looking For Artistic Partner
Can you save the code snippets file for back up?
Ads not showing up in live application ?
Corona UI News? (Please Read)
Android Widgets
Particles.CleanUp() called multiple times causes removeSelf() error