// 表示Webapp的路径在 file:///android_asset/apps/HelloH5
String appBasePath = "/apps/sales";
// 设置启动参数,可在页面中通过plus.runtime.arguments;方法获取到传入的参数
String args = "{url:'http://www.baidu.com'}";
// 启动启动独立应用的5+ Webapp
app = SDK.startWebApp(activity, appBasePath, args, new IWebviewStateListener()
appBasePath 怎么设置其他地址啊!比如sd卡里面地址或者一个网络地址!
0 个回复