From 01d56aa8e59b4839c3ac89c5363449b005634d17 Mon Sep 17 00:00:00 2001
From: youlookwhat <770413277@qq.com>
Date: Thu, 28 Oct 2021 22:56:19 +0800
Subject: [PATCH] build 3.1.0
---
README.md | 8 ++++----
app/build.gradle | 4 ++--
app/src/main/assets/callsms.html | 2 +-
.../com/example/jingbin/webviewstudy/MainActivity.java | 10 +++++-----
.../webviewstudy/tencentx5/X5WebViewActivity.java | 2 +-
.../jingbin/webviewstudy/ui/WebViewActivity.java | 2 +-
6 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/README.md b/README.md
index c6cd040..1018c32 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ allprojects {
```java
dependencies {
- implementation 'com.github.youlookwhat:ByWebView:1.1.4'
+ implementation 'com.github.youlookwhat:ByWebView:1.1.6'
}
```
@@ -182,9 +182,9 @@ byWebView = ByWebView
## Screenshots
-
-
-
+
+
+
## Download
- [Demo示例下载][2]
diff --git a/app/build.gradle b/app/build.gradle
index adf35c5..db7494b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -7,8 +7,8 @@ android {
applicationId "com.example.jingbin.webviewstudy"
minSdkVersion 14
targetSdkVersion 28
- versionCode 11
- versionName "3.0.1"
+ versionCode 12
+ versionName "3.1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
// tencent x5
ndk {
diff --git a/app/src/main/assets/callsms.html b/app/src/main/assets/callsms.html
index 3b7749b..2b04fc2 100644
--- a/app/src/main/assets/callsms.html
+++ b/app/src/main/assets/callsms.html
@@ -38,7 +38,7 @@
-
+
diff --git a/app/src/main/java/com/example/jingbin/webviewstudy/MainActivity.java b/app/src/main/java/com/example/jingbin/webviewstudy/MainActivity.java
index 2f3cb7b..d8e2059 100644
--- a/app/src/main/java/com/example/jingbin/webviewstudy/MainActivity.java
+++ b/app/src/main/java/com/example/jingbin/webviewstudy/MainActivity.java
@@ -26,7 +26,7 @@
import me.jingbin.web.ByWebTools;
/**
- * Link to: https://github.com/youlookwhat/WebViewStudy
+ * Link to: https://github.com/youlookwhat/ByWebView
* contact me: https://www.jianshu.com/u/e43c6e979831
*/
public class MainActivity extends AppCompatActivity implements View.OnClickListener {
@@ -128,7 +128,7 @@ public void onClick(DialogInterface dialog, int which) {
@Override
public void onClick(DialogInterface dialog, int which) {
state = 0;
- loadUrl("https://github.com/youlookwhat/WebViewStudy", "WebViewStudy");
+ loadUrl("https://github.com/youlookwhat/ByWebView", "ByWebView");
}
});
builder.show();
@@ -144,7 +144,7 @@ public void onClick(DialogInterface dialog, int which) {
private void openUrl() {
state = 0;
String url = ByWebTools.getUrl(etSearch.getText().toString().trim());
- loadUrl(!TextUtils.isEmpty(url) ? url : "https://github.com/youlookwhat/WebViewStudy", "详情");
+ loadUrl(!TextUtils.isEmpty(url) ? url : "https://github.com/youlookwhat/ByWebView", "ByWebView");
}
@Override
@@ -158,11 +158,11 @@ public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.actionbar_update:
state = 0;
- loadUrl("http://d.6short.com/webviewstudy", "网页浏览器 - fir.im");
+ loadUrl("https://github.com/youlookwhat/download/raw/main/ByWebView.apk", "ByWebView.apk");
break;
case R.id.actionbar_about:
state = 0;
- loadUrl("https://github.com/youlookwhat/WebViewStudy", "WebViewStudy");
+ loadUrl("https://github.com/youlookwhat/ByWebView", "ByWebView");
break;
default:
break;
diff --git a/app/src/main/java/com/example/jingbin/webviewstudy/tencentx5/X5WebViewActivity.java b/app/src/main/java/com/example/jingbin/webviewstudy/tencentx5/X5WebViewActivity.java
index f7877b9..8d8a4e6 100644
--- a/app/src/main/java/com/example/jingbin/webviewstudy/tencentx5/X5WebViewActivity.java
+++ b/app/src/main/java/com/example/jingbin/webviewstudy/tencentx5/X5WebViewActivity.java
@@ -45,7 +45,7 @@
* 6、getWindow().setFormat(PixelFormat.TRANSLUCENT);
*
* @author jingbin
- * link to https://github.com/youlookwhat/WebViewStudy
+ * link to https://github.com/youlookwhat/ByWebView
*/
public class X5WebViewActivity extends AppCompatActivity implements IX5WebPageView {
diff --git a/app/src/main/java/com/example/jingbin/webviewstudy/ui/WebViewActivity.java b/app/src/main/java/com/example/jingbin/webviewstudy/ui/WebViewActivity.java
index d94b966..92afa58 100644
--- a/app/src/main/java/com/example/jingbin/webviewstudy/ui/WebViewActivity.java
+++ b/app/src/main/java/com/example/jingbin/webviewstudy/ui/WebViewActivity.java
@@ -54,7 +54,7 @@
* 被作为第三方浏览器打开
*
* @author jingbin
- * link to https://github.com/youlookwhat/WebViewStudy
+ * link to https://github.com/youlookwhat/ByWebView
* new to {@link ByWebViewActivity}
*/
@Deprecated