WebView is, ehrrr... the web view ;-)
The same as the one in the browser.
I don't know if your problem is related or not, but try different
content to try to determine this.


On Apr 9, 10:03 pm, vinnu <[EMAIL PROTECTED]> wrote:
> also does webview has anything to do with browser..all i want is a
> view which can understand html tags and display content accordingly on
> my app's layout. i thot webview meant to do this?
>
> On Apr 9, 12:59 pm, vinnu <[EMAIL PROTECTED]> wrote:
>
> > Hi Diego,
>
> > thanx for ur reply. the problem is, imnoteven loading a webpage
> > here..i just want my webview to print a little html.
> > imnotsure why imnotgetting it on the emulator screen.
>
> > On Apr 9, 2:01 am, Diego Torres Milano <[EMAIL PROTECTED]> wrote:
>
> > > Maybe it's related with this 
> > > problemhttp://groups.google.com/group/android-developers/browse_thread/threa...
>
> > > On Apr 9, 8:33 am, vinnu <[EMAIL PROTECTED]> wrote:
>
> > > > hi,
>
> > > > im writing a bare bones application on android...and mywebviewdoesnt
> > > > seem to work.  i mean itsnotshowing any data on the emulator screen.
> > > > the textview and editview all work fine..but thewebviewdoesnt show
> > > > any data on screen. am i missing something?
>
> > > >  below is the part of the code that is relevant
>
> > > > public void onCreate(Bundle icicle) {
> > > >         super.onCreate(icicle);
>
> > > >         setContentView(R.layout.login);
> > > >        WebViewwView = (WebView) findViewById(R.id.wview);
> > > >         wView.loadData(
> > > >                 "<html><body>Please click </body></html>",
> > > >                 "text/html", "utf-8");
>
> > > > }
>
> > > > my login.xml looks like this
> > > > ------------------------------------------
>
> > > > <?xml version="1.0" encoding="utf-8"?>
> > > > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> > > > android"
> > > >     android:orientation="vertical"
> > > >     android:layout_width="fill_parent"
> > > >     android:layout_height="fill_parent"
>
> > > > <TextView
> > > >     android:layout_width="fill_parent"
> > > >     android:layout_height="wrap_content"
> > > >     android:text="Username"
> > > >     />
> > > > <EditText android:id="@+id/username"
> > > >         android:layout_width="fill_parent"
> > > >         android:layout_height="wrap_content"
> > > >         />
> > > > <TextView
> > > >     android:layout_width="fill_parent"
> > > >     android:layout_height="wrap_content"
> > > >     android:text="Password"
> > > >     />
> > > > <EditText android:id="@+id/password"
> > > >         android:password="true"
> > > >         android:layout_width="fill_parent"
> > > >         android:layout_height="wrap_content"
> > > >         />
> > > > <Button android:id="@+id/login"
> > > >         android:layout_width="wrap_content"
> > > >         android:layout_height="wrap_content"
> > > >         android:text="Login"
> > > >         />
>
> > > > <WebView
> > > >         android:id="@+id/wview"
> > > >         android:layout_width="fill_parent"
> > > >         android:layout_height="wrap_content"
> > > >         android:focusable="false"/>
>
> > > > </LinearLayout>
>
> > > > thanx
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to