WebViewClient is the new interface which replaced the old
BrowserCallback.

If you attach a WebViewClient to your WebView and make sure to
{ return false; } for shouldOverrideUrlLoading. The url will be loaded
in your WebView instead of the platform choice, Browser.

On Oct 24, 1:01 pm, Obormot <[EMAIL PROTECTED]> wrote:
> Guys,
>
> I found WebViewClient interface, which is probably a replacement for
> theBrowserCallback, but I couldn't figure out how to override the url
> loading...
> What happens is once I click on a URL inside a page opened in my
> WebView it takes me to the standard browser.
> Instead, I'd like to load that URL in my WebView.
>
> Is there a way to do that?
>
> Sincerely,
>   Andriy Trubka.
>
> On Oct 23, 7:20 pm, Obormot <[EMAIL PROTECTED]> wrote:
>
> > Hi, guys.
>
> > I apologize for the rather dumb question.
> > I'm trying to use WebView with theBrowserCallbackto handle URL
> > loading.
> > I see tons of examples and documentation on the internet, but I don't
> > see this class in my SDK.
> > I tried to find out whether this is newest addition or it's been
> > removed, but no luck so far.
> > So I decided to ask you, guys.
>
> > I'm using the SDK from the following archive:
> > android-sdk-windows-1.0_r1.zip
> > and it doesn't have that class.
> > There's something with similar API called CallbackProxy, but it's
> > package local and not used in public WebView API.
>
> > Thank you in advance.
>
> > Sincerely,
> >   Andriy Trubka.

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

Reply via email to