> I am having this same problem that when I attempt to load a URL in an > embedded webview in cupcake it launches in the browser instead. > Setting the layout_width and height on the webview to fill_parent with > layoutparams is not resolving 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 old http://code.google.com/android. Switching it to load http://developer.android.com cleared 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 -~----------~----~----~----~------~----~------~--~---