From 20a76125048e3f5f7c80dc232d4f5e04987250f4 Mon Sep 17 00:00:00 2001
From: Scott Main For an example implementation of {@link android.app.backup.BackupAgent}, see the {@code
ExampleAgent} class in the Backup and Restore sample
+href="{@docRoot}resources/samples/BackupRestore/index.html">Backup and Restore sample
application.
res/layout/main.xml file and insert the following:
<?xml version="1.0" encoding="utf-8"?>
-<WebView
+<WebView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
@@ -79,7 +79,7 @@ private class HelloWebViewClient extends WebViewClient {
HelloWebViewClient as the {@link android.webkit.WebViewClient}:
- mWebView.setWebViewClient(new WebViewClientDemo());+
mWebView.setWebViewClient(new HelloWebViewClient());
This line can go anywhere following the initialization of the {@link android.webkit.WebView} object.