Hi,

I am investigating whether it is possible to hook in to a WebView and 
handle an error code from the server.

I want to add an additional header and resend the request, ideally without 
wrapping the entire webview to store away any data associated with a post 
request.

My task is further complicated by the fact I want to get access to the 
server certificate used to set up the https connection.

Is there any way in WebView to:

1. Use shouldInterceptRequest to handle the connection myself using some 
other library for setting up the https connection? It appears to be a 
synchronous call so probably a non-starter
2. Get access to the server certificate for an https connection.
3. Some other clever/hacky way to intercept the traffic

I have spent a fair bit of time trawling through the source and it is not 
looking particularly promising but just in case someone has more insight 
into the thing than I do.

Cheers!

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/b9acba54-aaae-45b5-8e63-f221da5ade9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to