summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Nurik <romannurik@google.com>2009-12-10 09:42:51 -0800
committerandroid-build SharedAccount <android-build@sekiwake.mtv.corp.google.com>2009-12-16 15:06:05 -0800
commit48a92a9ce9dbcf0225e545e7d71185072abe017f (patch)
treecd309e74786040dbe5878d0f3f9f6c3b9723d62e
parentb45d5e6b9010d22b8f3383f0130ba95d0bba2601 (diff)
downloadbase-48a92a9ce9dbcf0225e545e7d71185072abe017f.tar.gz
Add ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples index. Also add latest samples zip file.
-rw-r--r--Android.mk16
-rw-r--r--docs/html/guide/guide_toc.cs12
-rw-r--r--docs/html/guide/samples/images/ContactManager1.pngbin54351 -> 13809 bytes
-rw-r--r--docs/html/guide/samples/images/ContactManager2.pngbin40027 -> 11581 bytes
-rw-r--r--docs/html/guide/samples/images/MultiResolution.pngbin0 -> 96462 bytes
-rw-r--r--docs/html/guide/samples/images/Wiktionary.pngbin0 -> 23644 bytes
-rw-r--r--docs/html/guide/samples/images/WiktionarySimple.pngbin0 -> 61543 bytes
-rw-r--r--docs/html/guide/samples/images/wiktionary.pngbin228217 -> 0 bytes
-rw-r--r--docs/html/guide/samples/images/wiktionary_detail.pngbin76521 -> 0 bytes
-rw-r--r--docs/html/guide/samples/index.jd25
-rw-r--r--docs/html/shareables/latest_samples.zipbin0 -> 6874369 bytes
11 files changed, 48 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk
index cd4e58ebe148..8a3c5bf968b9 100644
--- a/Android.mk
+++ b/Android.mk
@@ -357,14 +357,18 @@ web_docs_sample_code_flags := \
-hdf android.hasSamples 1 \
-samplecode $(sample_dir)/ApiDemos \
guide/samples/ApiDemos "API Demos" \
- -samplecode $(sample_dir)/BluetoothChat \
- guide/samples/BluetoothChat "Bluetooth Chat" \
+ -samplecode $(sample_dir)/BluetoothChat \
+ guide/samples/BluetoothChat "Bluetooth Chat" \
+ -samplecode $(sample_dir)/ContactManager \
+ guide/samples/ContactManager "Contact Manager" \
-samplecode $(sample_dir)/Home \
guide/samples/Home "Home" \
-samplecode $(sample_dir)/JetBoy \
guide/samples/JetBoy "JetBoy" \
-samplecode $(sample_dir)/LunarLander \
guide/samples/LunarLander "Lunar Lander" \
+ -samplecode $(sample_dir)/MultiResolution \
+ guide/samples/MultiResolution "Multiple Resolutions" \
-samplecode $(sample_dir)/NotePad \
guide/samples/NotePad "Note Pad" \
-samplecode $(sample_dir)/SearchableDictionary \
@@ -372,7 +376,13 @@ web_docs_sample_code_flags := \
-samplecode $(sample_dir)/Snake \
guide/samples/Snake "Snake" \
-samplecode $(sample_dir)/SoftKeyboard \
- guide/samples/SoftKeyboard "Soft Keyboard"
+ guide/samples/SoftKeyboard "Soft Keyboard" \
+ -samplecode $(sample_dir)/Wiktionary \
+ guide/samples/Wiktionary "Wiktionary" \
+ -samplecode $(sample_dir)/WiktionarySimple \
+ guide/samples/WiktionarySimple "Wiktionary (Simplified)"
+
+
## SDK version identifiers used in the published docs
# major[.minor] version for current SDK. (full releases only)
diff --git a/docs/html/guide/guide_toc.cs b/docs/html/guide/guide_toc.cs
index 6c6e0e76793e..c08a280af1cf 100644
--- a/docs/html/guide/guide_toc.cs
+++ b/docs/html/guide/guide_toc.cs
@@ -401,6 +401,9 @@
<li><a href="<?cs var:toroot ?>guide/samples/BluetoothChat/index.html">
<span class="en">Bluetooth Chat</span>
</a></li>
+ <li><a href="<?cs var:toroot ?>guide/samples/ContactManager/index.html">
+ <span class="en">Contact Manager</span>
+ </a></li>
<li><a href="<?cs var:toroot ?>guide/samples/Home/index.html">
<span class="en">Home</span>
</a></li>
@@ -410,6 +413,9 @@
<li><a href="<?cs var:toroot ?>guide/samples/LunarLander/index.html">
<span class="en">Lunar Lander</span>
</a></li>
+ <li><a href="<?cs var:toroot ?>guide/samples/MultiResolution/index.html">
+ <span class="en">Multiple Resolutions</span>
+ </a></li>
<li><a href="<?cs var:toroot ?>guide/samples/NotePad/index.html">
<span class="en">Note Pad</span>
</a></li>
@@ -422,6 +428,12 @@
<li><a href="<?cs var:toroot ?>guide/samples/SoftKeyboard/index.html">
<span class="en">Soft Keyboard</span>
</a></li>
+ <li><a href="<?cs var:toroot ?>guide/samples/Wiktionary/index.html">
+ <span class="en">Wiktionary</span>
+ </a></li>
+ <li><a href="<?cs var:toroot ?>guide/samples/WiktionarySimple/index.html">
+ <span class="en">Wiktionary (Simplified)</span>
+ </a></li>
</ul>
</li>
</ul>
diff --git a/docs/html/guide/samples/images/ContactManager1.png b/docs/html/guide/samples/images/ContactManager1.png
index 5bfd27b93417..78f09d2ff070 100644
--- a/docs/html/guide/samples/images/ContactManager1.png
+++ b/docs/html/guide/samples/images/ContactManager1.png
Binary files differ
diff --git a/docs/html/guide/samples/images/ContactManager2.png b/docs/html/guide/samples/images/ContactManager2.png
index 0a11ec373084..34da37db063d 100644
--- a/docs/html/guide/samples/images/ContactManager2.png
+++ b/docs/html/guide/samples/images/ContactManager2.png
Binary files differ
diff --git a/docs/html/guide/samples/images/MultiResolution.png b/docs/html/guide/samples/images/MultiResolution.png
new file mode 100644
index 000000000000..8b245d99532a
--- /dev/null
+++ b/docs/html/guide/samples/images/MultiResolution.png
Binary files differ
diff --git a/docs/html/guide/samples/images/Wiktionary.png b/docs/html/guide/samples/images/Wiktionary.png
new file mode 100644
index 000000000000..eae5da5bdd10
--- /dev/null
+++ b/docs/html/guide/samples/images/Wiktionary.png
Binary files differ
diff --git a/docs/html/guide/samples/images/WiktionarySimple.png b/docs/html/guide/samples/images/WiktionarySimple.png
new file mode 100644
index 000000000000..a23226b8b02e
--- /dev/null
+++ b/docs/html/guide/samples/images/WiktionarySimple.png
Binary files differ
diff --git a/docs/html/guide/samples/images/wiktionary.png b/docs/html/guide/samples/images/wiktionary.png
deleted file mode 100644
index b750076820a7..000000000000
--- a/docs/html/guide/samples/images/wiktionary.png
+++ /dev/null
Binary files differ
diff --git a/docs/html/guide/samples/images/wiktionary_detail.png b/docs/html/guide/samples/images/wiktionary_detail.png
deleted file mode 100644
index 1a4dfe65d126..000000000000
--- a/docs/html/guide/samples/images/wiktionary_detail.png
+++ /dev/null
Binary files differ
diff --git a/docs/html/guide/samples/index.jd b/docs/html/guide/samples/index.jd
index 4fca8dac84c3..28f3d0895884 100644
--- a/docs/html/guide/samples/index.jd
+++ b/docs/html/guide/samples/index.jd
@@ -28,6 +28,13 @@ android update project -s -n API Demos -t <em>&lt;target_ID></em> -p <em>&lt;pat
<p>The pages below provide an overview of each sample application (available with most
platforms) and allow you to view the source files in your browser. </p>
+<div class="special">
+ <p>Some of the samples in this listing are not yet available in the
+ SDK. While we work to update the SDK, you can
+ <a href="../../shareables/latest_samples.zip">download the latest samples</a> as a ZIP
+ file here.</p>
+</div>
+
<dl>
<dt><a href="ApiDemos/index.html">API Demos</a></dt>
@@ -36,10 +43,13 @@ platforms) and allow you to view the source files in your browser. </p>
<dt><a href="BluetoothChat/index.html">Bluetooth Chat</a></dt>
<dd>An application for two-way text messaging over Bluetooth.</dd>
+
+ <dt><a href="ContactManager/index.html">Contact Manager</a></dt>
+ <dd>An application that demonstrates how to query the system contacts provider, as
+ well as insert contacts into a specific account.</p>
<dt><a href="Home/index.html">Home</a></dt>
- <dd>An application for saving notes. Similar (but not identical) to the
- <a href="{@docRoot}guide/tutorials/notepad/index.html">Notepad tutorial</a>.</dd>
+ <dd>A home screen replacement application.</dd>
<dt><a href="JetBoy/index.html">JetBoy</a></dt>
<dd>JetBoy is a game that demonstrates the SONiVOX JET interactive music technology,
@@ -47,6 +57,10 @@ platforms) and allow you to view the source files in your browser. </p>
<dt><a href="LunarLander/index.html">Lunar Lander</a></dt>
<dd>A classic Lunar Lander game.</dd>
+
+ <dt><a href="MultiResolution/index.html">Multiple Resolutions</a></dt>
+ <dd>A sample application that shows how to use resource directory qualifiers to
+ provide different resources for different screen configurations.</dd>
<dt><a href="NotePad/index.html">Note Pad</a></dt>
<dd>An application for saving notes. Similar (but not identical) to the
@@ -61,6 +75,13 @@ platforms) and allow you to view the source files in your browser. </p>
<dt><a href="SoftKeyboard/index.html">Soft Keyboard</a></dt>
<dd>An example of writing an input method for a software keyboard.</dd>
+
+ <dt><a href="Wiktionary/index.html">Wiktionary</a></dt>
+ <dd>An example of creating interactive widgets for display on the Android
+ home screen.</dd>
+
+ <dt><a href="WiktionarySimple/index.html">Wiktionary (Simplified)</a></dt>
+ <dd>A simple Android home screen widgets example.</dd>
</dl>
diff --git a/docs/html/shareables/latest_samples.zip b/docs/html/shareables/latest_samples.zip
new file mode 100644
index 000000000000..585d6f2f3f40
--- /dev/null
+++ b/docs/html/shareables/latest_samples.zip
Binary files differ