summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2010-04-07 11:15:45 -0700
committerChristopher Tate <ctate@google.com>2010-04-07 13:37:00 -0700
commite779bdc9b4366a9293b87424b42cff45d46336a6 (patch)
tree26589f4d60d2f4feffb30292bf8ccc45df45c6ea
parent567b57b68884c68e3c95834589e5f7921f380a45 (diff)
downloadframeworks_base-e779bdc9b4366a9293b87424b42cff45d46336a6.zip
frameworks_base-e779bdc9b4366a9293b87424b42cff45d46336a6.tar.gz
frameworks_base-e779bdc9b4366a9293b87424b42cff45d46336a6.tar.bz2
Add Backup/Restore sample to the SDK docs
Part of bug #2545514 Change-Id: I235d33b839924d4bc574fd1e6762d169902e1c8b
-rw-r--r--Android.mk2
-rw-r--r--docs/html/guide/samples/index.jd4
-rw-r--r--docs/html/resources/resources_toc.cs3
-rw-r--r--docs/html/resources/samples/index.jd4
4 files changed, 13 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 5a4c547..cecc26a 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 7923532..2f3ac5e 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. </p>
<dd>A variety of small applications that demonstrate an extensive collection of
framework topics.</dd>
+ <dt><a href="{@docRoot}resources/samples/BackupRestore/index.html">Backup and Restore</a></dt>
+ <dd>An simple example that illustrates a few different ways for an application to
+ implement support for the Android data backup and restore mechanism.</dd>
+
<dt><a href="{@docRoot}resources/samples/BluetoothChat/index.html">Bluetooth Chat</a></dt>
<dd>An application for two-way text messaging over Bluetooth.</dd>
diff --git a/docs/html/resources/resources_toc.cs b/docs/html/resources/resources_toc.cs
index 5958f71..43ab562 100644
--- a/docs/html/resources/resources_toc.cs
+++ b/docs/html/resources/resources_toc.cs
@@ -188,6 +188,9 @@
<li><a href="<?cs var:toroot ?>resources/samples/ApiDemos/index.html">
<span class="en">API Demos</span>
</a></li>
+ <li><a href="<?cs var:toroot ?>resources/samples/BackupRestore/index.html">
+ <span class="en">Backup and Restore</span>
+ </a> <span class="new">new!</span></li>
<li><a href="<?cs var:toroot ?>resources/samples/BluetoothChat/index.html">
<span class="en">Bluetooth Chat</span>
</a></li>
diff --git a/docs/html/resources/samples/index.jd b/docs/html/resources/samples/index.jd
index 044c69d..2718d0c 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>.</p>
<dd>A variety of small applications that demonstrate an extensive collection of
framework topics.</dd>
+ <dt><a href="BackupRestore/index.html">Backup and Restore</a></dt>
+ <dd>An simple example that illustrates a few different ways for an application to
+ implement support for the Android data backup and restore mechanism.</dd>
+
<dt><a href="BluetoothChat/index.html">Bluetooth Chat</a></dt>
<dd>An application for two-way text messaging over Bluetooth.</dd>