j***@qq.com
j***@qq.com
  • 发布:2017-02-08 16:27
  • 更新:2017-02-08 16:27
  • 阅读:1171

Android和IOS两端使用webapp方式集成为什么不一样

分类:5+ SDK

使用iOS可以指定页面打开

NSString* pWWWPath = [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent:@"www"];
//url指定页面
pAppHandle = [[[PDRCore Instance] appManager] openAppAtLocation:pWWWPath withIndexPath:url withArgs:pArgus withDelegate:self];

使用android却不可以,只能指定路径

使用webview却可以,但是使用webview又不能实现mui.openWindow方法打开新页面
为什么两端不可以统一呢?

String appBasePath = "/apps/H5Plugin";
SDK.startWebApp(activity, appBasePath, args, new IWebviewStateListener(){} );

2017-02-08 16:27 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复