Android Studio notes webview
If you want to know the video part of the loading webpage, click here
Basic grammar
Actual combat drill
1. Load local html
Project structure
pay attention to path writing
2. Load web html
Solve the problem of clicking on the link in the page to prompt to open the browser
Solve the problem of exiting the activity by the return key
Solve the progress bar and title function during loading
Use js to realize the pop-up
Also pay attention to setting network access permissions in androidmanifest
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
The corresponding code above:**