[Note: I am reposting this issue over on android-platform, because I
am still confused as to how WebView was built after the SSL Error
classes were removed]
I have a WebView and I want to capture an error, most likely related
to a web page having an invalid SSL certificate (company Intranet).
rrently the MyWebViewClient.onPageStarted() method is called, and no
secure content is shown on the page.
Generally I would expect WebViewClient.onReceivedError() to be called
to handle this situation, although the documentation is not quite
clear on exactly what kind of errors this method covers.
Looking at the Android Browser implementation source code, it seems to
call WebViewClient.onReceivedSslError() on line 2954, which triggers
the relevant site certificate prompt:
http://android.git.kernel.org/?p=platform/packages/apps/Browser.git;a=blob;f=src/com/android/browser/BrowserActivity.java
...which is method that was removed in 0.9:
http://code.google.com/android/migrating/m5-0.9/changes/android.webkit.WebViewClient.html
I am not clued up enough to take on the WebKit source and can't find
any documentation on what if anything has replaced the
onReceivedSslError() method.
Is this a bug/omission in the Android platform? How was the
"release-1.0" browser complied with missing classes? Am I doing
something wrong?
Thanks in advance for your feedback.
Mark