2 ms·
In my recent experience, using Phonegap you can get to the hardware stuff, it was not being able to get to webservices easily that killed it for me. Servers nee
by davedx 14y ago
In my recent experience, using Phonegap you can get to the hardware stuff, it was not being able to get to webservices easily that killed it for me. Servers need to be specifically configured to allow cross-origin requests [1] in JavaScript, or you're basically dead in the water, from my understanding.
This is a pretty huge showstopper for HTML5 mobile. I'd love to hear how you're supposed to get around it.
[1] http://stackoverflow.com/questions/3595515/xmlhttprequest-error-origin-null-is-not-allowed-by-access-control-allow-origin http://stackoverflow.com/questions/3595515/xmlhttprequest-er...
- lukifer 14y agoYou can always proxy it through your own server, although obviously that's less than ideal.