Android Question Preventing Webpage not available in Webview!

Sreepathy T L

Member
Licensed User
Longtime User
Hi All,

I have gone through
https://www.b4x.com/android/forum/threads/webview-detect-page-not-found.29764/
and several other threads in this forum and stack overflow to find a solution that prevents webview from displaying "Webpage not available" while trying to load a url.

Sad to say none of them are working perfectly. Though we override url loading or do something in
_ReceivedError event, nothing is preventing webview from displaying this error in our test setup. We tried with Lenovo S660 (Kitkat) and HTC 620G, if initially netwok is not available, these solutions will work.

But when the page is already loaded and your phone goes to screenlock or utilities like performance boosters refreshes RAM, network is disrupted temporarily and this error will be displayed invariably. Once this error comes, even on clicking the error page url, browser will refuse to navigate!!!


If any one is having a successfully working solution, pls update.
 
Top