I tried, but I couldn't get it to work.
mWebView.loadUrl("http://photics.com/games/conquest");
mWebView.getSettings().setCacheMode
(WebSettings.LOAD_NO_CACHE);
mWebView.setWebViewClient(new WebViewClient() {
public boolean shouldOverrideUrlLoading(WebView view,
String url)
{
if (url.contains("http://photics.com")) {
return false;
}
else return true;
}
});
That makes my site links work, staying in the WebView, but the
external links don't work at all.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---