Skip to content

Commit

Permalink
文件上传优化
Browse files Browse the repository at this point in the history
  • Loading branch information
JakePrim committed Jun 22, 2018
1 parent 0e62791 commit c648b8a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ PrimWeb 是一个代理的WebView基于的 Android WebView 和 腾讯 x5 WebView
15. 支持自定义错误页面
16. 支持跳转到其他应用页面


Activity调用PrimWeb | Fragment调用PrimWeb | 识别电话短信邮箱
---|---|---
![activity.gif](https://upload-images.jianshu.io/upload_images/2005932-297ecc349a263621.gif?imageMogr2/auto-orient/strip) | ![fragment.gif](https://upload-images.jianshu.io/upload_images/2005932-6a44ccaec767c20e.gif?imageMogr2/auto-orient/strip) |![sms.gif](https://upload-images.jianshu.io/upload_images/2005932-8c636d66d6628881.gif?imageMogr2/auto-orient/strip)



JS通信 | 文件上传 | 自定义错误页面
---|---|---
![js.gif](https://upload-images.jianshu.io/upload_images/2005932-74258121fbcd8b87.gif?imageMogr2/auto-orient/strip) | ![input.gif](https://upload-images.jianshu.io/upload_images/2005932-a268f8c2f1c268a7.gif?imageMogr2/auto-orient/strip) | ![error.gif](https://upload-images.jianshu.io/upload_images/2005932-5b8128c6a9831d50.gif?imageMogr2/auto-orient/strip)
## How Do I Use?

```
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/prim/web/activity/WebActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected void onCreate(Bundle savedInstanceState) {
.setWebViewType(PrimWeb.WebViewType.X5)
.setWebChromeClient(agentChromeClient)
.setWebViewClient(agentWebViewClient)
.alwaysOpenOtherPage(true)
.alwaysOpenOtherPage(false)
.buildWeb()
.lastGo()
.launch("https://m.jd.com/");
Expand Down

0 comments on commit c648b8a

Please sign in to comment.