I have the same problem, and didn't manage to find a way even to
detect the error. Any clues?
On Feb 13, 1:54 pm, whitemice wrote:
> I have a WebView and I want to capture an error, most likely related
> to a web page having an invalidSSLcertificate(company Intranet).
> Currently the MyWebViewClient.onPageStarted() method is called, and no
> secure content is shown the 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
> sitecertificateprompt:http://android.git.kernel.org/?p=platform/packages/apps/Browser.git;a...
>
> ...which of course is a method that was removed in
> 0.9:http://code.google.com/android/migrating/m5-0.9/changes/android.webki...
>
> 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 completely wrong?
>
> Thanks in advance for your feedback.
> Mark
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---