From 11d2eef36fc495bc842e3601cb90ba66f3243527 Mon Sep 17 00:00:00 2001 From: quddusc Date: Wed, 30 Oct 2013 18:09:08 -0700 Subject: Updated browsable sample descriptions. Change-Id: I21e3dfacb4bc1acfbe3b17c5f8001ee758f9eec2 (cherry picked from commit 3943cdc9626911fe2732fedd5c85e920c6078a9f) --- .../browseable/ActivityInstrumentation/_index.jd | 12 ++++++------ samples/browseable/AdvancedImmersiveMode/_index.jd | 18 +++++++----------- samples/browseable/Basic/_index.jd | 18 +++++++++--------- samples/browseable/BasicAccessibility/_index.jd | 10 +++++----- samples/browseable/BasicAndroidKeyStore/_index.jd | 18 ++++++++---------- samples/browseable/BasicContactables/_index.jd | 13 ++++++------- samples/browseable/BasicGestureDetect/_index.jd | 11 +++++------ samples/browseable/BasicImmersiveMode/_index.jd | 12 +++++------- samples/browseable/BasicMediaDecoder/_index.jd | 8 ++------ samples/browseable/BasicMediaRouter/_index.jd | 21 +++++++++++---------- samples/browseable/BasicMultitouch/_index.jd | 13 +++++-------- samples/browseable/BasicNetworking/_index.jd | 11 +++-------- samples/browseable/BasicNotifications/_index.jd | 10 +++------- samples/browseable/BasicSyncAdapter/_index.jd | 17 +++++++---------- samples/browseable/BluetoothLeGatt/_index.jd | 11 +++++------ samples/browseable/BorderlessButtons/_index.jd | 8 ++------ samples/browseable/CustomChoiceList/_index.jd | 8 ++------ samples/browseable/CustomNotifications/_index.jd | 7 ++----- samples/browseable/DoneBar/_index.jd | 16 +++++----------- samples/browseable/HorizontalPaging/_index.jd | 9 +++------ samples/browseable/ImmersiveMode/_index.jd | 12 +++++------- samples/browseable/ListPopupMenu/_index.jd | 13 +++++++------ samples/browseable/MediaRecorder/_index.jd | 7 +++++++ samples/browseable/NetworkConnect/_index.jd | 9 +++------ samples/browseable/ShareActionProvider/_index.jd | 13 +++++++------ samples/browseable/StorageClient/_index.jd | 13 +++++-------- samples/browseable/Styled/_index.jd | 14 +++++++------- samples/browseable/TextLinkify/_index.jd | 15 +++++++++------ samples/browseable/TextSwitcher/_index.jd | 11 ++++------- samples/browseable/repeatingAlarm/_index.jd | 10 +++------- 30 files changed, 158 insertions(+), 210 deletions(-) create mode 100644 samples/browseable/MediaRecorder/_index.jd (limited to 'samples') diff --git a/samples/browseable/ActivityInstrumentation/_index.jd b/samples/browseable/ActivityInstrumentation/_index.jd index d1967d3cd..1cf01c84b 100644 --- a/samples/browseable/ActivityInstrumentation/_index.jd +++ b/samples/browseable/ActivityInstrumentation/_index.jd @@ -5,9 +5,9 @@ page.tags="ActivityInstrumentation" sample.group=Testing @jd:body -

- - This sample provides a basic example of using an InstrumentationTest to probe the - internal state of an Activity. - -

+

This sample demonstrates how to use an +{@link android.test.InstrumentationTestCase} to test the internal state of an +{@link android.app.Activity}.

+

To learn more about using Android's custom testing framework, see +Testing Your +Android Activity.

diff --git a/samples/browseable/AdvancedImmersiveMode/_index.jd b/samples/browseable/AdvancedImmersiveMode/_index.jd index 901b56940..2b19c9c74 100644 --- a/samples/browseable/AdvancedImmersiveMode/_index.jd +++ b/samples/browseable/AdvancedImmersiveMode/_index.jd @@ -5,14 +5,10 @@ page.tags="AdvancedImmersiveMode" sample.group=UI @jd:body -

- - \"Immersive Mode\" is a new UI mode which improves \"hide full screen\" and - \"hide nav bar\" modes, by letting users swipe the bars in and out. This sample - lets the user experiment with immersive mode by enabling it and seeing how it interacts - with some of the other UI flags related to full-screen apps. - \n\nThis sample also lets the user choose between normal immersive mode and "sticky" - immersive mode, which removes the status bar and nav bar - a few seconds after the user has swiped them back in. - -

+

Android 4.4 introduces a way for you to provide a more immersive screen +experience in your app, by letting users show or hide the status bar and +navigation bar with a swipe.

+

This sample demonstrates how this features interacts with some of the other +UI flags related to full-screen apps. The sample also shows how to implement a +"sticky" mode, which re-hides the bars a few seconds after the user swipes +them back in.

diff --git a/samples/browseable/Basic/_index.jd b/samples/browseable/Basic/_index.jd index 17f668db5..72cffd94d 100644 --- a/samples/browseable/Basic/_index.jd +++ b/samples/browseable/Basic/_index.jd @@ -1,15 +1,15 @@ -page.tags="Basic" +page.tags="Basic ActionBarCompat" sample.group=UI @jd:body -

- - This sample shows you how to use ActionBarCompat to create a basic Activity which - displays action items. It covers inflating items from a menu resource, as well as adding - an item in code. Items that are not shown as action items on the Action Bar are - displayed in the action bar overflow. - -

+

This sample demonstrates how to create a basic action bar that displays +action items. The sample shows how to inflate items from a menu resource, and +how to add items programatically. To reduce clutter, rarely used actions are +displayed in an action bar overflow.

+

The activity in this sample extends from +{@link android.support.v7.app.ActionBarActivity}, which provides the +functionality necessary to display a compatible action bar on devices +running Android 2.1 and higher.

diff --git a/samples/browseable/BasicAccessibility/_index.jd b/samples/browseable/BasicAccessibility/_index.jd index b1c6dde0e..761aa117e 100644 --- a/samples/browseable/BasicAccessibility/_index.jd +++ b/samples/browseable/BasicAccessibility/_index.jd @@ -5,8 +5,8 @@ page.tags="BasicAccessibility" sample.group=UI @jd:body -

- - This sample demonstrates how to create an accessible application, using a mix of different widgets demonstrating different ways of adding accessibility markup to a UI. - -

+

This sample demonstrates how to create applications that are accessible for +users with visual or physical disabilities.

+

To learn how to make the most of the accessibility features built into +the Android framework, see +Implementing Accessibility.

diff --git a/samples/browseable/BasicAndroidKeyStore/_index.jd b/samples/browseable/BasicAndroidKeyStore/_index.jd index b69787e1d..5b7af605c 100644 --- a/samples/browseable/BasicAndroidKeyStore/_index.jd +++ b/samples/browseable/BasicAndroidKeyStore/_index.jd @@ -5,13 +5,11 @@ page.tags="BasicAndroidKeyStore" sample.group=Security @jd:body -

- - Welcome to the Basic Android Key Store sample!\n\n - This sample demonstrates how to use the Android Key Store to safely create and store - encryption keys that only your application can access. You can also sign data - using those keys.\n\n - To create a new KeyPair, click \"Create\".\n\n - To sign some data using a KeyPair, click \"Sign\".\n\n - To verify the data using the signature provided, click \"Verify\".\n\n -

+

This sample demonstrates how to use a {java.security.KeyStore} to +safely create and store encryption keys that only your application can access. +You can also sign data using those keys.

+

To see this in action, run the sample application and click:

+