基于腾讯X5内核版的 AgentWeb ,简单易用 , 带有进度条 、 支持文件上传 、 下载 、 简化 Javascript 通信 、 链式调用 、性能更优 。更多使用请参照上面的 sample 。
Gradle
compile 'com.just.agentwebX5:agentwebX5:2.0.0'
Maven
<dependency>
<groupId>com.just.agentwebX5</groupId>
<artifactId>agentwebX5</artifactId>
<version>2.0.0</version>
<type>pom</type>
</dependency>
如果你更喜欢Android WebView ,请切换到这个仓库 AgentWeb
AgentWebX5
QbSdk.initX5Environment(getApplicationContext(), cb);
AgentWebX5 和 AgentWeb 区别在于 AgentWeb 依赖于系统 WebView ,而 AgentWebX5 依赖是腾讯X5内核 , AgentWebX5 是把 AgentWeb 内部 Android系统提供的WebView 替换成了X5库WebView 。