Building with prepackaged DocumentsDirectory assets.

I am about to publish my app to the app store. Unfortunately it requires assets that are only available on the FAA intranet to work. I would like to prepackage some data to the DocumentsDirectory so users can at least get a sample set of data to play with. Is this possible? Or do I just copy the data into the directory on startup?

Thanks,

Dave [import]uid: 18679 topic_id: 22219 reply_id: 322219[/import]

Copying files from your Resource directory to your Documents directory is the way to do it. All files in your Corona project directory will be bundled in your app’s Resource directory. Please see the following link on how to do file copies in Corona…
http://developer.anscamobile.com/reference/index/filewrite

Please note that there are special rules on accessing resource files on Android since they are compressed in your APK and not easily accessible. See the following link for more details…
http://developer.anscamobile.com/forum/2011/09/25/application-has-been-corrupted-error#comment-65109
[import]uid: 32256 topic_id: 22219 reply_id: 88496[/import]

Thanks you, exactly what I needed! [import]uid: 18679 topic_id: 22219 reply_id: 88642[/import]