phonegap, connection to server unsuccessful

前端 未结 5 1890
花落未央
花落未央 2020-12-15 08:35

I\'m trying to write an Android app with phonegap, and I\'m writing a static front page with buttons, which was working until I introduced jQuery mobile and jQuery (which ar

5条回答
  •  再見小時候
    2020-12-15 09:05

    What exactly do you mean by "linked as external files"?

    The jQuery Mobile and jQuery sources either need to be in the assets/www directory or linked to externally on an accessible cdn site with wireless or mobile data enabled.

    There's an example here.

    Also, see JQuery Mobile + PhoneGap for Android - Error loading index.html - Within your custom Activity file before calling super.loadUrl add the following line: super.setIntegerProperty("loadUrlTimeoutValue", 60000);

提交回复
热议问题