• Stars
    star
    9,200
  • Rank 3,869 (Top 0.08 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 7 years ago
  • Updated 9 months ago

Reviews

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

Repository Details

AgentWeb is a powerful library based on Android WebView.

AgentWeb 介绍

AgentWeb 是一个基于的 Android WebView ,极度容易使用以及功能强大的库,提供了 Android WebView 一系列的问题解决方案 ,并且轻量和极度灵活,详细使用请参照上面的 Sample 。

Gradle 引入

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
  • Androidx

     implementation 'com.github.Justson.AgentWeb:agentweb-core:v5.0.6-androidx' // (必选)
     implementation 'com.github.Justson.AgentWeb:agentweb-filechooser:v5.0.6-androidx' // (可选)
     implementation 'com.github.Justson:Downloader:v5.0.4-androidx'
    

相关

注意事项

  • 支付宝使用需要引入支付宝SDK ,并在项目中依赖 , 微信支付不需要做任何操作。
  • AgentWeb 内部使用了 AlertDialog 需要依赖 AppCompat 主题 。
  • setAgentWebParent 不支持 ConstraintLayout
  • mAgentWeb.getWebLifeCycle().onPause();会暂停应用内所有WebView
  • minSdkVersion 低于等于16以下自定义WebView请注意与 JS 之间通信安全。

文档帮助

有问题或者有更好的建议

赞赏

开源不易,你的支持是我更新的动力。

License

License

Copyright (C)  Justson(https://github.com/Justson/AgentWeb)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

More Repositories

1

AgentWebX5

AgentWebX5 是基于腾讯X5 的一个Web库
Java
428
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