On Wed, Sep 29, 2010 at 3:24 PM, dashman <[email protected]> wrote: > > webview = new WebView(this); > setContentView(webview); > > have an activity with this in the onCreate method. > > is this not an webview - i see an address bar.
That is not a WebView. Probably that is the Browser activity. 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 [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

