Mobile apps - Cross-domain AJAX [duplicate]
问题 This question already has answers here : Origin is not allowed by Access-Control-Allow-Origin (18 answers) Closed 6 years ago . I am trying to design some software to be distributed on private mobile devices (Android, iOS etc). I would like to write the software with HTML/CSS/JavaScript and use something like Sencha Touch, PhoneGap or similar. The software needs to write to a local database on the device and when it gets connectivity, post the data (securely) to a remote database on a web