Hello, I’ve been compiling my app for the android platform but run into a problem whereby copying a file from the resources directory into the documents or temporary directory does not work. It simply crashes the app on the phone. It does work fine on the simulator and on iphone devices. I’m using exactly the same code from here to copy the files: http://developer.coronalabs.com/reference/index/filewrite
There’s no error messages at all on the phone the app simply freezes, I know it’s the copy functions as removing them makes it work. I can write to those directories ok just using fwrite, as the html file I’m creating is written fine, it’s just something in the copying for some reason. I’m copying just PNG files.
Thanks in advance! [import]uid: 110859 topic_id: 32111 reply_id: 332111[/import]