PhoneGap with WIndows Phone Access Origin?
NickName:Philip Kirkbride Ask DateTime:2012-07-21T01:13:38

PhoneGap with WIndows Phone Access Origin?

I'm using Phonegap to build an application for multiple platforms, one of which is windows phone.

I had a similar problem with other platforms with having Ajax grab content from an XML file on the web.

I was able to solve it by adding ...

<access origin="*" />

to the config.xml file.

After that it worked on BlackBerry, Android, and IOS.

But on the windows phone emulator it doesn't fetch the data.


According to this page http://docs.phonegap.com/en/1.9.0/guide_whitelist_index.md.html Windows phone doesn't even need the Access tag and all domains should be accessible by default.

Copyright Notice:Content Author:「Philip Kirkbride」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/11584040/phonegap-with-windows-phone-access-origin

More about “PhoneGap with WIndows Phone Access Origin?” related questions

PhoneGap with WIndows Phone Access Origin?

I'm using Phonegap to build an application for multiple platforms, one of which is windows phone. I had a similar problem with other platforms with having Ajax grab content from an XML file on th...

Show Detail

AngularJS and Phonegap Cross Origin Access

Recently i created a PhoneGap App for mobile devices, using AngularJS as javascript framework. I have a PHP backend serving Restful JSON data, build in Laravel PHP Framework. The PhoneGap App req...

Show Detail

Access to cookies or WebBroswer class from phonegap plugin running windows phone

I have to manage cookies (delete it) from my phonegap app running on a windows phone 8. I've created a C# phonegap plugin. On the web, I've found that WebBroswer class can be the way to delete the

Show Detail

Phonegap APIs working on Windows Phone only

I have created a simple application using Phonegap and Visual Studio 2010 for Windows Phone 7. After that I used phonegap build to get the compiled files for Android (.apk) and Windows Phone (.xap)...

Show Detail

Phonegap Windows phone ajax call is not working

I have created windows phone app through phonegap and i have deployed in windows phone using application deployment tool and it is working well ( all functions including ajax call ). After that i h...

Show Detail

Windows Phone 8 Development with Phonegap

I have jut read this documentation http://phonegap.com/blog/2012/12/21/apache-cordova-and-windows-phone-8/, and I need to ask a very simple question. I know you cant do Windows Phone 8 development

Show Detail

Cordova/phonegap windows phone plugins

I am having problems getting a phonegap windows phone app up and going. (PhoneGap 3.1.0 - on a windows 8 machine) I have followed the step so create a windows phone app from the “Windows Phone Com...

Show Detail

PhoneGap geolocation and Windows Phone8

According to PhoneGap documentation, the Geolocation API are not available for Windows Phone 8. But according caniuse.com (http://caniuse.com/geolocation), the HTML5 geolocation is available for W...

Show Detail

Phonegap using CLI to compile windows phone app

Pardon me for asking, or pointing this out, but the windows mobile docs for phonegap are awful. As of Phonegap 3.0, heres what it still says on the windows platform guide: Download and extract the ...

Show Detail

PhoneGap Windows Phone app native browser?

I am about to develop a PhoneGap Windows-Phone app, since i know PhoneGap uses the native browser of the phone to display the app, i would be happy if someone can clarify the following questions fo...

Show Detail