In Android, WebView is a control used to load HTTP and HTTPS Web pages to local applications. By default, the Loadurl (String URL) method allows you to successfully load pages such as http://www.baidu.com. However, when the HTTPS page with the SSL layer is load, such as https://money.183.com.cn/, if the site's security certificate is not authenticated on Android, WebView becomes a blank page, It doesn't jump out of a risk box like a PC browser. Therefore, we must deal with this situation.
Android has two classes to deal with
The specific usage is as follows:
If you simply accept all the certificates, then you can directly adjust the process () method.