For phonegap development:
- is it possible to fetch remote data for phonegape?
- is it possible to fetch remote json/xml file using ajax/jquery ?
- XmlHttpRequest can fetch remote xml file ?
also any suggestion for it or important link.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ajax works no different that it does else where execept that cross domain calls are ok with phonegap,
see my other answer
Example of jquery ajax call @ http://api.jquery.com/jQuery.ajax/
Parsing xml with javascript @ http://www.w3schools.com/xml/xml_parser.asp
Example of native javascript call
Ref from phonegap about ajax
(see question:
Q. I want to create an application for phonegap to access externally deployed web services via AJAX. How can i resolve the issue with the cross-domain security policy of XmlHttpRequest?)
True to life example on this site
This should be enough to get you started.
Let me know if you have any other questions.