Good catch as to what was going on. I see now that some sites load in
the embedded webview while some in the browser.  Does anyone know if
there is a workaround to suppress this, in case an app needs to go to
a site like http://code.google.com/android ?

Thanks,
Andrew


On Jun 30, 9:12 am, "Mark Murphy" <mmur...@commonsware.com> wrote:
> > I am having this same problem that when I attempt to load a URL in an
> > embeddedwebviewin cupcake it launches in the browser instead.
> > Setting the layout_width and height on thewebviewto fill_parent with
> > layoutparams isnotresolving it.  Any ideas?
>
> If the URL does a redirect (at least maybe the permanent redirect kind),
> that may trigger the Browser to take over. I ran into this just yesterday
> with an example that was trying to load the 
> oldhttp://code.google.com/android. Switching it to 
> loadhttp://developer.android.comcleared up the problem.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> 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 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