diff options
| author | Dirk Dougherty <ddougherty@google.com> | 2014-02-07 20:39:47 -0800 |
|---|---|---|
| committer | Dirk Dougherty <ddougherty@google.com> | 2014-02-07 20:39:47 -0800 |
| commit | 7cd4524c3bc377aa4267c7014c126e0526b3c703 (patch) | |
| tree | 3cab06771509804b87b4c452a59585bb16291291 /samples/browseable | |
| parent | 0b3758ea4e53f9bfd0b112eaa4a7dd7b7f4040f5 (diff) | |
| download | android_development-7cd4524c3bc377aa4267c7014c126e0526b3c703.tar.gz android_development-7cd4524c3bc377aa4267c7014c126e0526b3c703.tar.bz2 android_development-7cd4524c3bc377aa4267c7014c126e0526b3c703.zip | |
Update summary descriptions for new samples.
Change-Id: Icf39a554cb6a91d4ba9e8d76c3f40dae3ace60ac
Diffstat (limited to 'samples/browseable')
| -rw-r--r-- | samples/browseable/BasicRenderScript/_index.jd | 10 | ||||
| -rw-r--r-- | samples/browseable/BatchStepSensor/_index.jd | 32 | ||||
| -rw-r--r-- | samples/browseable/CardEmulation/_index.jd | 18 | ||||
| -rw-r--r-- | samples/browseable/CardReader/_index.jd | 19 | ||||
| -rw-r--r-- | samples/browseable/RenderScriptIntrinsic/_index.jd | 13 | ||||
| -rw-r--r-- | samples/browseable/RepeatingAlarm/_index.jd | 10 | ||||
| -rw-r--r-- | samples/browseable/SlidingTabsBasic/_index.jd | 11 | ||||
| -rw-r--r-- | samples/browseable/SlidingTabsColors/_index.jd | 11 |
8 files changed, 67 insertions, 57 deletions
diff --git a/samples/browseable/BasicRenderScript/_index.jd b/samples/browseable/BasicRenderScript/_index.jd index 9c0f029b3..a40a26422 100644 --- a/samples/browseable/BasicRenderScript/_index.jd +++ b/samples/browseable/BasicRenderScript/_index.jd @@ -6,8 +6,8 @@ sample.group=RenderScript @jd:body <p> - - BasicRenderScript sample demonstrates basic steps how to use renderScript. - In the sample, it performs graphical filter operation on a image with renderScript. - - </p> + This sample demonstrates the basic steps for using RenderScript. In this + example, the app uses <a href= + "{@docRoot}guide/topics/renderscript/compute.html">RenderScript</a> to + perform graphical filter operations on a image. +</p> diff --git a/samples/browseable/BatchStepSensor/_index.jd b/samples/browseable/BatchStepSensor/_index.jd index ca7090abb..a361294a4 100644 --- a/samples/browseable/BatchStepSensor/_index.jd +++ b/samples/browseable/BatchStepSensor/_index.jd @@ -6,16 +6,22 @@ sample.group=Sensors @jd:body <p> - - This sample demonstrates the use of the two step sensors (step detector and counter) and - sensor batching.\n\n It shows how to register a SensorEventListener with and without - batching and shows how these events are received.\n\nThe Step Detector sensor fires an - event when a step is detected, while the step counter returns the total number of - steps since a listener was first registered for this sensor. - Both sensors only count steps while a listener is registered. This sample only covers the - basic case, where a listener is only registered while the app is running. Likewise, - batched sensors can be used in the background (when the CPU is suspended), which - requires manually flushing the sensor event queue before it overflows, which is not - covered in this sample. - - </p> + This sample demonstrates the use of the two step sensors (step detector and + counter) and sensor batching. It shows how to register a {@link + android.hardware.SensorEventListener} with and without batching and shows how + these events are received. +</p> + +<p> + The Step Detector sensor fires an event when a step is detected, while the + step counter returns the total number of steps since a listener was first + registered for this sensor. Both sensors only count steps while a listener is + registered. +</p> + +<p> + This sample only covers the basic case, where a listener is only registered + while the app is running. Likewise, batched sensors can be used in the + background (when the CPU is suspended), which requires manually flushing the + sensor event queue before it overflows, which is not covered in this sample. +</p> diff --git a/samples/browseable/CardEmulation/_index.jd b/samples/browseable/CardEmulation/_index.jd index 92a1f630d..1f3e3c7d3 100644 --- a/samples/browseable/CardEmulation/_index.jd +++ b/samples/browseable/CardEmulation/_index.jd @@ -6,12 +6,14 @@ sample.group=Connectivity @jd:body <p> - - This sample demonstrates how to emulate an NFC card, using the "host card emulation" - feature added in Android 4.4. This sample makes the device appear as a loyalty card - whenever the screen is on and the user taps their device on an appropriately configured - NFC reader. + This sample demonstrates how to emulate an NFC card, using the <a href= + "{@docRoot}guide/topics/connectivity/nfc/hce.html">Host Card Emulation</a> + feature added in Android 4.4. This sample makes the device appear as a + loyalty card whenever the screen is on and the user taps their device on an + appropriately configured NFC reader. +</p> - The "CardReader" sample can be used to read the loyalty card implemented in this sample. - - </p> +<p> + The <a href="{@docRoot}samples/CardReader/index.html">CardReader</a> sample + can be used to read the loyalty card implemented in this sample. +</p> diff --git a/samples/browseable/CardReader/_index.jd b/samples/browseable/CardReader/_index.jd index 72fba3d0c..9ba051e19 100644 --- a/samples/browseable/CardReader/_index.jd +++ b/samples/browseable/CardReader/_index.jd @@ -6,12 +6,15 @@ sample.group=Connectivity @jd:body <p> - - This sample demonstrates how to implement a low-level NFC card reader, for reading cards - that do not contain NDEF or Android Beam data. This sample is designed to read the virtual - loyalty card implemented in the "CardEmulation" sample.\n\n + This sample demonstrates how to implement a low-level NFC card reader, for + reading cards that do not contain NDEF or Android Beam data. This sample is + designed to read the virtual loyalty card implemented in the <a href= + "{@docRoot}samples/CardEmulation/index.html">CardEmulation</a> sample. +</p> - In particular, this sample demonstrates how to disable Android Beam, select which AIDs the - reader is interested, and establish communication with the card - - </p> +<p> + In particular, this sample demonstrates how to disable Android Beam, select + which AIDs the reader is interested in, and establish communication with the + card. See <a href="{@docRoot}guide/topics/connectivity/nfc/hce.html">Host-based + Card Emulation</a> for more information on the HCE APIs. +</p> diff --git a/samples/browseable/RenderScriptIntrinsic/_index.jd b/samples/browseable/RenderScriptIntrinsic/_index.jd index b9222aaa4..2724c1a3a 100644 --- a/samples/browseable/RenderScriptIntrinsic/_index.jd +++ b/samples/browseable/RenderScriptIntrinsic/_index.jd @@ -6,9 +6,10 @@ sample.group=RenderScript @jd:body <p> - - RenderScriptIntrinsic sample that demonstrates how to use RenderScript intrinsics. - Creates several RenderScript intrinsics and shows a filtering result with various parameters. - Also shows how to extends RedioButton with StateListDrawable. - - </p> + This sample demonstrates how to use <a href= + "http://android-developers.blogspot.com/2013/08/renderscript-intrinsics.html"> + RenderScript intrinsics</a>. The app creates several RenderScript intrinsics + and shows a filtering result with various parameters. The sample also shows + how to extend {@link android.widget.RadioButton} with {@link + android.graphics.drawable.StateListDrawable}. +</p> diff --git a/samples/browseable/RepeatingAlarm/_index.jd b/samples/browseable/RepeatingAlarm/_index.jd index 85e1dda5f..69f7ee1c3 100644 --- a/samples/browseable/RepeatingAlarm/_index.jd +++ b/samples/browseable/RepeatingAlarm/_index.jd @@ -4,10 +4,6 @@ page.tags="RepeatingAlarm" sample.group=Background @jd:body - -<p> - - Introductory text that explains what the sample is intended to demonstrate. Edit - in template-params.xml. - - </p> + + +<p>This sample demonstrates how to implement a repeating alarm using an {@link android.app.AlarmManager}.</p> diff --git a/samples/browseable/SlidingTabsBasic/_index.jd b/samples/browseable/SlidingTabsBasic/_index.jd index 60610d225..261885c75 100644 --- a/samples/browseable/SlidingTabsBasic/_index.jd +++ b/samples/browseable/SlidingTabsBasic/_index.jd @@ -6,8 +6,9 @@ sample.group=UI @jd:body <p> - - A basic sample which shows how to use SlidingTabLayout to display a custom - ViewPager title strip which gives continuous feedback to the user when scrolling. - - </p> + This sample shows how to use <code><a href= + "{@docRoot}samples/SlidingTabsBasic/src/com.example.android.common/view/SlidingTabLayout.html"> + SlidingTabLayout</a></code> to display a custom {@link + android.support.v4.view.ViewPager ViewPager} title strip that gives + continuous feedback to the user when scrolling. +</p>
\ No newline at end of file diff --git a/samples/browseable/SlidingTabsColors/_index.jd b/samples/browseable/SlidingTabsColors/_index.jd index ee1b853ec..342ee1545 100644 --- a/samples/browseable/SlidingTabsColors/_index.jd +++ b/samples/browseable/SlidingTabsColors/_index.jd @@ -6,8 +6,9 @@ sample.group=UI @jd:body <p> - - A more advanced sample which shows how to use SlidingTabLayout to display a custom - ViewPager title strip, with custom coloring for each tab. - - </p> + This sample shows a more advanced example of how to use a <code><a href= + "{@docRoot}samples/SlidingTabsColors/src/com.example.android.common/view/SlidingTabLayout.html"> + SlidingTabLayout</a></code> to display a custom {@link + android.support.v4.view.ViewPager ViewPager} title strip, with custom + coloring for each tab. +</p>
\ No newline at end of file |
