Skip to content Skip to sidebar Skip to footer

Cordova 1.9.0 Ajax Not Retrieving

I have been following the tutorial on http://wiki.phonegap.com/w/page/42450600/PhoneGap%20Ajax%20Sample to build a simple AJAX request. But where I expect to see results all I get

Solution 1:

You have give permission to access the another website inside your application. just change the cordava.xml like this. To access twitter,

<?xml version="1.0" encoding="utf-8"?><cordova><accessorigin="http://search.twitter.com/"/><loglevel="DEBUG"/></cordova>

To Access all websites.

<?xml version="1.0" encoding="utf-8"?><cordova><accessorigin="*"/><loglevel="DEBUG"/></cordova>

Post a Comment for "Cordova 1.9.0 Ajax Not Retrieving"