vgaltes
vgaltes

Reputation: 1218

Could not load jQuery mobile templates in Windows Phone using PhoneGap

I have a mobile application developed with PhoneGap. I'm using jQuery mobile templating. The application goes well with iOS and Android. In WP7.5, if I navigate to the web page via Internet Explorer, the application runs OK, without problems.

But when I build the xap in PhoneBuilder and deploy it to my WP7.5, all the templates that I'm using don't work. In the screen I could see: "The template footer could not be loaded. HTTP Status code: 0".

Should I have to do something special in order to be able to see the templates?

Thank you very much.

Upvotes: 0

Views: 884

Answers (1)

Dave R
Dave R

Reputation: 1656

Please check the answer I gave here jQuery Mobile - error loading pages using PhoneGap and WP7.5 - issue with security? as it is probably what you are experiencing.

The solution is to mark your extra files as "content" in the properties dialog, rebuild and redeploy then everything should work.

Upvotes: 1

Related Questions