I'm developing an Android app that loads a website in a WebView, but sometimes the website returns HTTP code 500.
My question is: is there any way to get the HTTP status code from a WebView with a listener or with another class??
I tried to implement an WebViewClient, but I couldn't get the HTTP status code which WebView received.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…