stanlick wrote:
> Maybe I spoke too soon! This code fits nicely in the tab content
>
> browser=new WebView(this);
> setContentView(browser);
> browser.loadUrl("http://commonsware.com");
>
> However, most of the url's I am using take over the entire screen!
> What is deal?
If the title bar changes from your app to "Browser" or something, it's
probably a redirect. By default, WebView passes redirects to the Browser
app. You either need to avoid redirects, or use a WebViewClient to
reroute redirects to the WebView.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books.html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---