How to show No Internet connection dialog in webview | Android Studio
问题 I'm trying to add a message in a web view, the message should come out when you do not have an Internet connection. I have tried many ways but I always make a mistake that I do not understand. I create a folder called "assets" and add a file "error.html" following a YouTube tutorial but it gives me errors I will write my codes here without what I saw on YouTube. Thank you MainActivity.java import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support