I want to create a web app for android.
When I click a button the app opens a web page.
If I have internet connection the app is working fine.
If I disable internet connection I get a message : “Web Page not found”, and is shown with link of web page.
My question is :
1 : How to protect link of web page and
2 : How to disable error message of Web Page Not Found
i think an example can help you.
WebViewClientto get the error events.loadan errorHTMLpagethe code sample is: