file path rules

i am new to corona. I am creating a new app that creates and reads a file. Is there a restriction of what path you can put the data into? I read something about the resource folder but what if i just want to create a new folder. it works in my test app but i am not sure of how it will work in a published app.

help will be appreciated.

thanks

mike [import]uid: 23600 topic_id: 6135 reply_id: 306135[/import]

You can write to the temporary and documents directory but never the resource directory.

If you do write to the resource directory your app may fail to launch. [import]uid: 8045 topic_id: 6135 reply_id: 21007[/import]

Here’s a reference link to take a look at:
http://developer.anscamobile.com/reference/index/ioopen

Notice this part:
“Note: For security reasons you are not allowed to write files in the system.ResourceDirectory (the directory where the application is stored). You must specify the system.DocumentsDirectory or system.TemporaryDirectory parameter in system.pathForFile function when opening the file for writing.” [import]uid: 8045 topic_id: 6135 reply_id: 21009[/import]

I am just getting started with Corona. Is there a site where you can get or purchase graphics for the apps. Things like backgrounds, balls, scenery, buttons, etc.? Any help would be appreciated.
thanks.

Mike [import]uid: 23600 topic_id: 6135 reply_id: 21237[/import]

Just a suggestion… That’s a new topic, maybe make a new Forum topic if you haven’t searched and found anything. [import]uid: 23949 topic_id: 6135 reply_id: 21239[/import]