I'm using sencha touch with cordova to create mobile app for android. In mobile browser its working fine. when i create android apk, first ajax request getting proper response with request header showing "Causion : Provisional headers are shown". but second ajax request didn't getting any reponse. showing empty response.
i searched last full week but still i didn't get any correct answer. From my search i got few points, these thinks only affect ajax request with server.
1) add "Access-Control-Allow-Origin : *" in headers or htaccess.
colud you any one tell what is the core point. any thing i missed ?
- This issue regarding about chrome debugging ?
- Application frameworks issue like Zend framework / Sencha Touch / Cordova app for android ?
- need to add headers in ajax request or need to change ajax request to jonp ?
- need to add headers in php server or .htaccess file ?