summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Bruno Oliveira <btco@google.com> 2011-06-21 11:17:12 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2011-06-21 11:17:12 -0700
commita62f707da28226d5c6d160d1f0e21a65dcfba5fc (patch)
treeffe166864d594873f8346834619beabd9347c795
parent69ff6a47c6e302f1b8aaeccffea3434f1edc4ee6 (diff)
parentf1c71771a2164ed0009ef9b22f9c03bd3b1af3f9 (diff)
am f1c71771: am da61eab8: Merge "Integrating RandomMusicPlayer sample into tree." into honeycomb-mr2
* commit 'f1c71771a2164ed0009ef9b22f9c03bd3b1af3f9': Integrating RandomMusicPlayer sample into tree.
-rw-r--r--Android.mk2
-rw-r--r--docs/html/resources/resources-data.js10
-rw-r--r--docs/html/resources/samples/images/randommusicplayer.pngbin0 -> 18502 bytes
3 files changed, 12 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 32e6e7ba8ae1..810c0600c3ec 100644
--- a/Android.mk
+++ b/Android.mk
@@ -423,6 +423,8 @@ web_docs_sample_code_flags := \
resources/samples/NotePad "Note Pad" \
-samplecode $(sample_dir)/SampleSyncAdapter \
resources/samples/SampleSyncAdapter "Sample Sync Adapter" \
+ -samplecode $(sample_dir)/RandomMusicPlayer \
+ resources/samples/RandomMusicPlayer "Random Music Player" \
-samplecode $(sample_dir)/RenderScript \
resources/samples/RenderScript "RenderScript" \
-samplecode $(sample_dir)/SearchableDictionary \
diff --git a/docs/html/resources/resources-data.js b/docs/html/resources/resources-data.js
index 683b062e70b9..05dcf5554e2a 100644
--- a/docs/html/resources/resources-data.js
+++ b/docs/html/resources/resources-data.js
@@ -547,6 +547,16 @@ var ANDROID_RESOURCES = [
}
},
{
+ tags: ['sample', 'new', 'media' ],
+ path: 'samples/RandomMusicPlayer/index.html',
+ title: {
+ en: 'Random Music Player'
+ },
+ description: {
+ en: 'Demonstrates how to write a multimedia application that plays music from the device and from URLs. It manages media playback from a service and can play music in the background, respecting audio focus changes.'
+ }
+ },
+ {
tags: ['sample', 'new', 'newfeature', 'performance', 'gamedev', 'gl'],
path: 'samples/RenderScript/index.html',
title: {
diff --git a/docs/html/resources/samples/images/randommusicplayer.png b/docs/html/resources/samples/images/randommusicplayer.png
new file mode 100644
index 000000000000..e16e0677da00
--- /dev/null
+++ b/docs/html/resources/samples/images/randommusicplayer.png
Binary files differ