From e779bdc9b4366a9293b87424b42cff45d46336a6 Mon Sep 17 00:00:00 2001
From: Christopher Tate
Date: Wed, 7 Apr 2010 11:15:45 -0700
Subject: [PATCH] Add Backup/Restore sample to the SDK docs
Part of bug #2545514
Change-Id: I235d33b839924d4bc574fd1e6762d169902e1c8b
---
Android.mk | 2 ++
docs/html/guide/samples/index.jd | 4 ++++
docs/html/resources/resources_toc.cs | 3 +++
docs/html/resources/samples/index.jd | 4 ++++
4 files changed, 13 insertions(+)
diff --git a/Android.mk b/Android.mk
index 5a4c547345b63..cecc26a447dee 100644
--- a/Android.mk
+++ b/Android.mk
@@ -381,6 +381,8 @@ web_docs_sample_code_flags := \
-hdf android.hasSamples 1 \
-samplecode $(sample_dir)/ApiDemos \
resources/samples/ApiDemos "API Demos" \
+ -samplecode $(sample_dir)/BackupRestore \
+ resources/samples/BackupRestore "Backup and Restore" \
-samplecode $(sample_dir)/BluetoothChat \
resources/samples/BluetoothChat "Bluetooth Chat" \
-samplecode $(sample_dir)/BusinessCard \
diff --git a/docs/html/guide/samples/index.jd b/docs/html/guide/samples/index.jd
index 79235320e2db1..2f3ac5ebb6bc1 100644
--- a/docs/html/guide/samples/index.jd
+++ b/docs/html/guide/samples/index.jd
@@ -41,6 +41,10 @@ platforms) and allow you to view the source files in your browser.
A variety of small applications that demonstrate an extensive collection of
framework topics.
+ Backup and Restore
+ An simple example that illustrates a few different ways for an application to
+ implement support for the Android data backup and restore mechanism.
+
Bluetooth Chat
An application for two-way text messaging over Bluetooth.
diff --git a/docs/html/resources/resources_toc.cs b/docs/html/resources/resources_toc.cs
index 5958f7157ba6a..43ab5628288f5 100644
--- a/docs/html/resources/resources_toc.cs
+++ b/docs/html/resources/resources_toc.cs
@@ -188,6 +188,9 @@
API Demos
+
+ Backup and Restore
+ new!
Bluetooth Chat
diff --git a/docs/html/resources/samples/index.jd b/docs/html/resources/samples/index.jd
index 044c69de474fe..2718d0c0fd57f 100644
--- a/docs/html/resources/samples/index.jd
+++ b/docs/html/resources/samples/index.jd
@@ -22,6 +22,10 @@ href="{@docRoot}resources/samples/get.html">Getting the Samples.
A variety of small applications that demonstrate an extensive collection of
framework topics.
+ Backup and Restore
+ An simple example that illustrates a few different ways for an application to
+ implement support for the Android data backup and restore mechanism.
+
Bluetooth Chat
An application for two-way text messaging over Bluetooth.