I’m going crazy!
I tried to use SimpleImageDownload example on windows… doesn’t work, simulator crashes.
Compile it for android and test (moto G), doesn’t work, android application crashes.
I tried to use network.download in other lua file (simulator crashes)
I tried to use network.request, using
params.body = { filename = "file.ext", baseDirectory = system.DocumentsDirectory //I tried with TempDirectory too }
doesn’t work, simulator says, “Error opening request body file” (I tried many images on internet… none works)
I tried to make some network.request to get a response of type “application/octect-stream”… and i can’t get response body… event.response print nothing
This is my last resource! Is there a problem with Network.request? Am I crazy?
Thank you
EDIT: I’m using Windows 7, Corona SDK 2014.2511 (2014.11.18)