androiddevloper
Lurker
I was reading about WebViews in android application development and I am confused. I read on the guide (Building Web Apps in WebView) that I am supposed to place:
into my activity XML file (which I have done).
Then it says to:
But I am confused on how to do that. I assumed that meant just copy that in my activity_main.xml (my activity file), so I did, but it only created errors. So how do I do use loadurl()? Please describe it like you were describeing it to someone who does not know anything about development (because that is pretty much what you are doing, I am VERY new to development).
Thank you for your time.
Code:
<WebView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
Then it says to:
But I am confused on how to do that. I assumed that meant just copy that in my activity_main.xml (my activity file), so I did, but it only created errors. So how do I do use loadurl()? Please describe it like you were describeing it to someone who does not know anything about development (because that is pretty much what you are doing, I am VERY new to development).
Thank you for your time.