0

I want to get the network response code of server in webview/BrowserFrame/WebViewClient. Eailer it was working fine until 2.3 but from 3.0 /4.0 WebViewClient API(onReciveError) is not working and No http resource response is available in app.

I there any other alternative to recive it whenever I pass a url to webview.

dead programmer
  • 4,223
  • 9
  • 46
  • 77
  • ThreadPolicy has been changed since 3.0, you can not perform network action on UI thread anymore. – yorkw Apr 16 '12 at 21:21
  • @yorkw can you give a class name which can explain the change in ThreadPolicy...I mean , I want to know the what is the change in ThreadPolicy so that I can change my requirement accoundly.. – dead programmer Apr 17 '12 at 13:25
  • Check out my answer [here](http://stackoverflow.com/questions/8706464/defaulthttpclient-to-androidhttpclient/8706961#8706961) too see if it helps you out. – yorkw Apr 17 '12 at 22:01
  • possible duplicate of [Access the http response headers in a WebView?](http://stackoverflow.com/questions/3134389/access-the-http-response-headers-in-a-webview) – Jim G. Sep 11 '13 at 15:51

0 Answers0