On Wed, Sep 29, 2010 at 3:28 PM, dashman <erjdri...@gmail.com> wrote: > after the setContentView, i do > > webview.loadUrl(url); > > that seems to be creating an instance of the native browser. > > i guess my question is - how do i set a url w/o forcing > the native browser from opening.
As I wrote previously: Most likely, you have told the WebView to load some URL that issued a redirect (e.g., http://www.google.com). Redirects, like clicks on links, by default open up in the Browser, even if they originated in a WebView. You can use WebViewClient and shouldOverrideUrlLoading() to find out about the redirect/click and load the page in the WebView itself. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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