Hey guys,

I am using a WebView control to browse an ecommerce site. I have
rigged the control to stay in the application when other links are
clicked by overriding Url clicks and simply telling the WebView to
load that URL. Here is the code:

_webView = (WebView) findViewById(R.id.cart_webview);
_webView.loadUrl("some.ecommerce.site/basket.jsp");
_webView.setWebViewClient(new WebViewClient() {
    @Override public boolean shouldOverrideUrlLoading(final WebView
view, final String url) {
        String modifiedUrl = url.replaceAll("https", )
        view.loadUrl(url);
        return true;
    }
  });

This works great for browsing regular HTTP pages, but the moment I try
to go to an HTTPS page, the new page just doesn't load. Clicking the
link doesn't do anything. Does anyone know if it is possible to view
an HTTPS page in the embedded WebView browser?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to