|
1 | | -This is the beta version and is only meant for beta testing and quick fixes of bugs.<br> |
2 | | -This should not be used professionally. |
| 1 | +## Introduction |
| 2 | +CustomWebView is an extended form of web viewer with more customization and flexibility (For MIT AI2 and its distros)<br> |
| 3 | +**Latest Version : 10.1**<br> |
| 4 | +**Required Api : 21** <br> |
| 5 | +**Permissions:** `android.permission.WRITE_EXTERNAL_STORAGE,android.permission.ACCESS_DOWNLOAD_MANAGER,android.permission.ACCESS_FINE_LOCATION,android.permission.RECORD_AUDIO, android.permission.MODIFY_AUDIO_SETTINGS, android.permission.CAMERA,android.permission.VIBRATE,android.webkit.resource.VIDEO_CAPTURE,android.webkit.resource.AUDIO_CAPTURE,android.launcher.permission.INSTALL_SHORTCUT` |
| 6 | + |
| 7 | +## Features |
| 8 | +- More customization options than normal web viewer |
| 9 | +- Long Click event |
| 10 | +- New window request event |
| 11 | +- Close window request event |
| 12 | +- Load local files and content using Html and Js |
| 13 | +- Find words and phrases in webview |
| 14 | +- Evaluate Js and get result |
| 15 | +- Upload files to websites |
| 16 | +- Error occurred event |
| 17 | +- Get output from console |
| 18 | +- Form Resubmission event |
| 19 | +- Get content height |
| 20 | +- Get SSL Certificate of website |
| 21 | +- Get/Set cookies for particular url |
| 22 | +- Event for permission(s) request and grant permission(s) manually |
| 23 | +- Print web content |
| 24 | +- A wide range of tools for working with JavaScript |
| 25 | +- Accepts external links/Adds your app in browsers list when you use `CustomWebViewHelper` extension |
| 26 | +- Download files using built-in download method |
| 27 | +- Scroll Changed event and function to scroll to particular position |
| 28 | +- Create and Remove webviews dynamically |
| 29 | +- Ad blocker |
| 30 | +- Full screen video feature (OnShowCustomView and OnHideCustomView) |
| 31 | +- Pause and Resume webview |
| 32 | +- Get internal history |
| 33 | +- Create webpage shortcuts |
| 34 | +- Download offline pages and load them without internet connection |
| 35 | + |
| 36 | +## FAQ |
| 37 | +> Will disabling `DeepLink` property not add my app in browsers list?<br> |
| 38 | +Ans:- No, that's entirely a different thing.It specifies whether deep urls (such as `tel:`, `whatsapp:`) should open respective apps or not. |
| 39 | + |
| 40 | +> What is CustomWebViewHelper extension? <br> |
| 41 | +Ans:- It is an helper class/extension which you can use if you want to add your app in browsers list.<br> |
| 42 | +> How can I set a screen name as activity to be launched after clicking external link? <br> |
| 43 | +Ans:- You have two methods to do that which are as follows- <br> |
| 44 | +i) Change activity name from `CustomWebViewHelper` class manually and compile the sources. <br> |
| 45 | +ii) Get extension from here: <a href="https://customwebview.000webhostapp.com">customwebview.000webhostapp.com</a> |
| 46 | +
|
| 47 | +### Reference Links |
| 48 | +1.WebView Docs (<a href="https://developer.android.com/reference/android/webkit/WebView">Click here</a>)<br> |
| 49 | +2.MIT AI2 Community (<a href="https://community.appinventor.mit.edu/t/customwebview-an-extended-form-of-web-viewer/9934/">Click here</a>)<br> |
| 50 | +3.Kodular Community (<a href="https://community.kodular.io/t/customwebview-an-extended-form-of-web-viewer/63037">Click here</a>) |
0 commit comments