Giter Club home page Giter Club logo

agentwebx5's Introduction

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 。

agentwebx5's People

Contributors

justson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.