Hey
I’m currently trying to upload a map from a http:// file to my temp directory to load it in the game.
Currently this is the code I’m using:
local function networkListener( event )
storyboard.gotoScene( getNextLevel )
end
network.download( "http:/ ... /world1lvldoc.tmx", "GET", networkListener, "world1lvldoc.tmx", system.TemporaryDirectory )
And i’m loading the map from the system.TemporaryDirectory after.
Currently my application is crashing right after the download.
The current android permission I’m using in the build file is:
androidPermissions =
{
"android.permission.WRITE\_EXTERNAL\_STORAGE"
},
Everyting is working on the simulator but in Built version it crashing…
[import]uid: 64835 topic_id: 18646 reply_id: 318646[/import]