OSDN Git Service

adding the usb apis to the resources browser
authorRobert Ly <robertly@google.com>
Tue, 3 May 2011 00:49:05 +0000 (17:49 -0700)
committerRobert Ly <robertly@google.com>
Tue, 3 May 2011 00:49:05 +0000 (17:49 -0700)
Change-Id: I79e9f93ebfa3aaf03e4f4deeb70d6c5a7a4ad07f

Android.mk
docs/html/resources/resources-data.js

index b266061..ae03d6c 100644 (file)
@@ -438,6 +438,8 @@ web_docs_sample_code_flags := \
                            resources/samples/TicTacToeLib "TicTacToeLib" \
                -samplecode $(sample_dir)/TicTacToeMain \
                            resources/samples/TicTacToeMain "TicTacToeMain" \
+               -samplecode $(sample_dir)/USB \
+                           resources/samples/USB "USB" \
                -samplecode $(sample_dir)/WeatherListWidget \
                            resources/samples/WeatherListWidget "Weather List Widget" \
                -samplecode $(sample_dir)/Wiktionary \
index 14118bb..03a5c02 100644 (file)
@@ -606,6 +606,16 @@ var ANDROID_RESOURCES = [
     }
   },
   {
+    tags: ['sample', 'new', 'newfeature'],
+    path: 'samples/USB/index.html',
+    title: {
+      en: 'USB'
+    },
+    description: {
+      en: 'A set of samples that demonstrate how to use various features of the USB APIs.'
+    }
+  },
+  {
     tags: ['sample', 'ui', 'widgets'],
     path: 'samples/Wiktionary/index.html',
     title: {