android - How to handle WebView not loading -


i have webview webviewclient onrecievederror method set.

but if set phone airplane mode , page fails loadthe above method isn't called, there detect , deal webview being unable load pages?

but if set phone airplane mode , page fails loadthe above method isn't called

that method errors received web server. in case, there no accessible web server.

is there detect , deal webview being unable load pages?

not generically, afaik. can use connectivitymanager determine if have internet connection, in airplane mode scenario.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -