I am having a problem with a response to reading from a web view that loads registration. This requirement is indicated below.
I need to contact a user registration servlet that can respond with html and xml contents. For the initial request for receiving, the servlet responds with html content, and I can show it in WebView using the download URL method. In the web view, the user enters registration data and sends messages, the servlet responds with the xml status code and registration data. I have to read this xml response from the servlet, which can be obtained from the web view and perform an action (for example: close the web view and notify the user) regarding the xml response.
Please give me a solution. I tried to redefine the Webview onPageFinsihed () clients and read the data from the URL again by opening an HTTP connection. I think this implementation interacts with the server twice, is this correct?
@Nish Relations
source share