I thought at one point there was a plugin that gave the ability to read and write to a text file on android. But I can't seem to find it.
Is there such a plugin or some other way?
I thought at one point there was a plugin that gave the ability to read and write to a text file on android. But I can't seem to find it. Is there such a plugin or some other way?
Possibly here's the other way. I can confirm it works with crosswalk, and any other data, not only SaveStateJSON.
Thanks, I got the filechooser/loading aspect working but I can't get the saving to work.
I use the browser object to "invoke download of string" but nothing happens. What do I need to do?
Thanks, I got the filechooser/loading aspect working but I can't get the saving to work. I use the browser object to "invoke download of string" but nothing happens. What do I need to do?
You are trying to download the SaveStateJSON? You can download this string only in an event like - on save complete(system's condition) - invoke download of string(browser action) - "SaveStateJSON".
No, a custom string.
I'm trying when button clicked -> [Browser].Invoke Download as String
But nothing happens
No, a custom string. I'm trying when button clicked -> [Browser].Invoke Download as String But nothing happens
Hmm, strange, can i see a screenshot of parameters window for Invoke download of string action?
Here you go:
http://evglabs.com/wp-content/uploads/2015/06/2015-06-30_112952.png
Here you go: http://evglabs.com/wp-content/uploads/2015/06/2015-06-30_112952.png
And the download is not starting? Try check or update your browser maybe, i just got the same event to work and download the file.
Screenshot 1
Screenshot 2
It does work in the browser, just not in crosswalk. That's the problem I'm having.
Oh, sorry, now i understand, file plugin in XDK must be checked. Oh and File Transfer.
Develop games in your browser. Powerful, performant & highly capable.
Thanks, I thought I did that though. Does it just need to be the standard plugin? Because there is also a "file" plugin in the featured & custom area.
Standard cordova plugin, but you know i'm not 100% sure that you need both File and File Transfer, try only File or only File Transfer.
Thanks, I'll give that a shot. At least I know that it should work!
I just can't get it to work! It just doesn't seem to do anything. I've even enabled ALL plugins in XDK.
Is there some notification that a download starts?
Looks that i was wrong, i thought that if crosswalk support file downloads, it will work as in any other browser, guess it's not, i'm sorry. Maybe there's another way to make it work, ask other people and Ashley in How do I?