How do I display no internet connection popup and an html page when internet is not available for webview?
问题 I am using webviews in my app and want to make sure when internet is not available the pop up message displays for no internet connection and also displays an html page in the background saying internet connection required. I have added some code for checking internet connection, but its not working/ showing errors for checkmark(code added based on online research). Any clue how to fix the same? Here's the code below: public void onCreate(Bundle savedInstanceState){ super.onCreate