Cordova使用SystemWebView加载服务器网址

加载服务器端的网址可以使用2中方式。 第一种继承CordivaActivity类,然后直接使用loadUrl(launchUrl)即可。这里的launchUrl指向config.xml里面的<content src= "index.html"/>,此时的index.html是我们项目本地www文件夹下的网址,只需要替换成服务器上的地址即可。例如改成<content src= "http://www
相关文章
相关标签/搜索