• Stars
    star
    428
  • Rank 100,774 (Top 2 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 7 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

AgentWebX5 是基于腾讯X5 的一个Web库

AgentWebX5 介绍(该库不再维护)

基于腾讯X5内核版的 AgentWeb ,简单易用 , 带有进度条 、 支持文件上传 、 下载 、 简化 Javascript 通信 、 链式调用 、性能更优 。更多使用请参照上面的 sample 。

AgentWebX5 功能

  1. 支持进度条以及自定义进度条
  2. 支持文件下载
  3. 支持文件下载断点续传
  4. 支持下载通知形式提示进度
  5. 简化 Javascript 通信
  6. 支持 Android 4.4 Kitkat 以及其他版本文件上传
  7. 支持注入 Cookies
  8. 支持全屏播放视频
  9. 支持调起微信支付
  10. 支持调起支付宝
  11. 默认支持定位
  12. 支持传入IWebLayout(下拉回弹效果)

引入

  • 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

如果你更喜欢Android WebView ,请切换到这个仓库 AgentWeb

使用

  1. 下载腾讯X5内核最新 SDK 导入项目中并依赖。
  2. 引入 AgentWebX5
  3. 需要全局初始化X5内核 QbSdk.initX5Environment(getApplicationContext(), cb);

注意事项

  1. AgentWebX5 内部并没有直接依赖X5库 ,需要用户到腾讯X5官网下载 , 并在项目中依赖该库 。
  2. 由于使用的是 X5 内核,不是 Google 官方控件, 所以很多第三方开源组件不支持 。
  3. 支付宝需要引入支付宝SDK项目中依赖上支付宝SDK即可 ,微信支付不需要做任何操作。
  4. 注意权限 。
  5. 注意腾讯X5库官方升级并替换成最新的库。
  6. onJsAlert 阻塞

问答

AgentWeb 和 AgentWebX5 有什么区别吗?

AgentWebX5 和 AgentWeb 区别在于 AgentWeb 依赖于系统 WebView ,而 AgentWebX5 依赖是腾讯X5内核 , AgentWebX5 是把 AgentWeb 内部 Android系统提供的WebView 替换成了X5库WebView 。

More Repositories

1

AgentWeb

AgentWeb is a powerful library based on Android WebView.
Java
9,200
star
2

Downloader

A cost-effective Android file downloader
Java
405
star
3

flying-pigeon

flying-pigeon 是一个IPC 跨进程通信组件,底层是匿名内存+Binder , 突破1MB大小限制,无需写AIDL文件,让实现跨进程通信就像写一个接口一样简单
Java
201
star
4

CoolIndicator

A dazzling indicator
Java
106
star
5

BluetoothChatting

蓝牙即时通信,界面仿微信, 自动配对。
Java
70
star
6

Pixel-Activity-Keep-Alive

This is android keep alive library,Using a pixel activity to keep process alive.
Java
25
star
7

WheelProgress

iOS风格进度指示器
Java
22
star
8

dispatch-queue

Dispatch queue is an ultra-high performance queue extending Android message queue. Similar to the coroutine, it supports synchronous return and asynchronous execution. It can wrap the main thread and schedule flexibly
Java
16
star
9

Retrofit-RxAndroid-RxJava-MVP__DownFile

基于 MVP DownLoad 带进度条下载。
Java
7
star
10

PayProgressBar

支付宝确定支付过程的进度条
Java
4
star
11

ScView

仿芝麻信用控件-自定义控件
Java
3
star
12

imitate-Alipay-Sesame-credit

高仿支付宝芝麻信用控件
1
star
13

Justson_custom_progressview

custom_progress_view
Java
1
star
14

Justson

1
star
15

WheelProgressBar

微信和支付宝QQ等最常用的进度条...
1
star
16

Pratical

The repository main put personal pratical code
Java
1
star
17

Beautiful_Wallpaper

Java
1
star
18

Contacts_Helper

Java
1
star
19

ImageLoader

ImagerLoader
Java
1
star
20

aes256

openssl aes usage
C++
1
star
21

Promise

Promise
Java
1
star