Friday 15 May 2015

html5 - Android get request and response objects from webview -


Is there a way to get requests and feedback objects from a webview?

For some requests, the webpage is running in my webview, I want to block the full http request object (using header, HTTPS method, http body etc) and request that other channel I want to send and send in

The webview, I want to do this and want to get the object and its properties.

So far, I've seen the Webview client Android class, which allows you to block the URLs link executed by a webpage and block resources. .

However, what I want to stop, does a real http request webpage. Is this possible in the Android webview?

Thanks

This is not directly possible, welcome to writing an HTTP proxy , Then try to get WebView to work with it (for example, see if it supports http.proxyHost and http.proxyPort system properties).

No comments:

Post a Comment