Chister Nordvik wrote:
> Hi!
> 
> I would like to add a Webview that both intercepts the URL clicks and
> shows a progress when loading.
> 
> URL overriding:
> myWebView.setWebViewClient(new WebViewClient() {
>                   @Override public boolean shouldOverrideUrlLoading(WebView 
> view,
> String url) {
> ...
> 
> Progress:
> myWebView.setWebChromeClient(new WebChromeClient(){
>         @Override
>         public void onProgressChanged(WebView view, int newProgress) {
> ...
> 
> But is there any way to combine these two?

They are separate objects. What do you mean by "combined"?

> The WebViewClient only
> offers OnPageFinished and then I can't show any real progress when
> loading.

What makes you say that? Is your WebChromeClient object being ignored?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, $35/Year

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