jquery-mobile loaded into an android WebView

前端 未结 3 1851
执笔经年
执笔经年 2021-02-06 19:29

I\'ve not been able to get a webpage decorated by jquerymobile to load into an Android WebView.

Consider the jquery mobile demo site: http://jquerymobile.com/demos/1.0a4

相关标签:
3条回答
  • 2021-02-06 19:33

    Most all my issues went away by replacing jquery-1.5.2.min.js with jquery-1.5.2.js.

    The rest of my issues were resolved by replacing relative paths to link and script resources with absolute paths.

    0 讨论(0)
  • 2021-02-06 19:37

    Why not check out the phonegap source file for the DroidGap class responsible for loading its Android web view? Many people are routinely using jquery mobile, among other frameworks, with phonegap on android. I'm sure you'll find what you're looking for in there:

    https://github.com/sintaxi/phonegap/blob/master/android/framework/src/com/phonegap/DroidGap.java

    0 讨论(0)
  • 2021-02-06 19:46

    To see an example of PhoneGap loading the jQuery Mobile demo site, check out http://www.mobiledevelopersolutions.com/home/start/included-demo-apps

    0 讨论(0)
提交回复
热议问题