I have an HTML5 web application which heavily uses ajax requests - no server-side code, just ajax. Now, I need to package the whole thing to a USB stick.
On OSX, this isn't a problem... In Livecode, I bundle the site, and the embeddable webkit browser, tie them together, and I have a double-clickable app that runs the site.
Creating the app for iBooks, incidentally, was even easier. No wrapper required, just embed the site and publish.
On Windows, this process hasn't gone so well. Cross-domain policies prevent the ajax calls from happening at all.
So... I embedded a modified version of Andre Garcia's "RevOnRockets", to satisfy the server requirements. This works perfectly in the LiveCode environment... the embedded IE accepts RevOnRockets as a server, and it all runs nicely. In fact, while it is running in LiveCode, I can open any browser on my Windows system, connect to it, and it also works from there.
However, when I build the Windows app, it never opens the socket, never displays the embedded browser, and Windows appears to "clamp down" the app. That last part is a guess, but I'm supposing I'm hitting other Windows permissions errors that I don't understand.
So, I've "resolved" one problem but created another.
I appreciate any pointers in how to straighten this out. Thanks!
Deploy HTML5 App with Ajax to Windows
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Deploy HTML5 App with Ajax to Windows
Did you try revopenbrowserCEF()?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w