title: Android Webview Response Reading
body: <p>I am facing problem with reading response from the webview which loads a registration get url. The requirement is as below.</p>
  
  <p>I have to communicate with a user registration servlet which can respond with html and xml content. For initial get request the servlet responds with html content and I can able to show that in WebView using load URL method. In the web view user enters the registration details and clicks submit, the servlet reponds with xml status code and registration details. I have to read this xml response from the servlet that can be obtained from the web view and do action (ex: close the web view and alert user) with respect to the xml response.</p>
  
  <p><strong>Please get me a solution.
  I tried overriding Webview clients onPageFinsihed() and reading data again from the URL by opening an HTTP connection. I think this implementation communicates with the server two times, Is that correct?</strong></p>
  
  <p>Regards
  @nish</p>