Building a Mobile App With jQuery Mobile, Django, and Phonegap

后端 未结 2 1510
粉色の甜心
粉色の甜心 2021-01-30 04:57

I am currently starting to build a mobile application using jQuery Mobile and wrap it with Phonegap for native app support, it is an extension to our already existing desktop ap

2条回答
  •  情歌与酒
    2021-01-30 05:28

    One of the things you will need to look out for is same-origin features built into jquery. Since phonegap uses a a webview withl url file:// any web request you make will be cross domain so you need to configure jquery mobile to allow it.

    see http://jquerymobile.com/test/docs/pages/phonegap.html

    Other than that, there's not much difference between a phonegap mobile application and a regular web app with respect to getting/posting JSON.

提交回复
热议问题