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>
<access origin="http://search.twitter.com/"/>
<log level="DEBUG"/>
</cordova>
To Access all websites.
<?xml version="1.0" encoding="utf-8"?>
<cordova>
<access origin="*"/>
<log level="DEBUG"/>
</cordova>
Post a Comment for "Cordova 1.9.0 Ajax Not Retrieving"