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?

On Jun 8, 4:46 pm, Benjamin <benjamin.net...@gmail.com> wrote:
> Okay so I found out the problem, it's in the main.xml (found the
> solution 
> here:http://groups.google.com/group/android-developers/browse_thread/threa...)
>
> -----------------------------------------------------------------------
> main.xml (old)
> -----------------------------------------------------------------------
> [...]
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> android"
>     android:layout_width="wrap_content"
>     android:layout_height="wrap_content"
>     android:orientation="vertical">
> [...]
> -----------------------------------------------------------------------
>
> -----------------------------------------------------------------------
> main.xml (new)
> -----------------------------------------------------------------------
> [...]
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> android"
>     android:layout_width="fill_parent"
>     android:layout_height="fill_parent"
>     android:orientation="vertical">
> [...]
> -----------------------------------------------------------------------
> On 8 juin, 22:05, André Charles Legendre <andre.legen...@gmail.com>
> wrote:
>
>
>
> > Hi Benjamin
>
> > I have a similar application and it works good with 1.5
>
> > I ask myself why you name activity .HelloWebView  in manifest
> > And you look for R.id.webview
> > Are you sure about the name ?
>
> > Andre
--~--~---------~--~----~------------~-------~--~----~
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