I’m creating a web app (using phonegap) that needs to retrieve an xml document from an online site. How do I do this? From what i gather, AJAX will only work on relative url’s due to some security restriction…
Share
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.
have you tried to work with
JQueryajax api? You will have to make thecrossDomainoption totrueso that you can do a crossdomain request. Also, you will have to add the site to your white list domains in the PhoneGapplistfile.