Merge "docs: fix broken links and add new sitemap text file" into jb-mr1-dev

This commit is contained in:
Scott Main
2013-01-03 18:32:45 -08:00
committed by Android (Google) Code Review
6 changed files with 5308 additions and 4967 deletions

View File

@ -240,7 +240,7 @@ android.media.MediaRouter#getSelectedRoute MediaRouter.getSelectedRoute()} as me
secondary screens, you can apply secondary screens, you can apply
a different theme by specifying the {@link a different theme by specifying the {@link
android.R.attr#presentationTheme android:presentationTheme} attribute in the <a android.R.attr#presentationTheme android:presentationTheme} attribute in the <a
href={@docRoot}guide/topics/resources/style-resource.html>{@code &lt;style>}</a> that youve href="{@docRoot}guide/topics/resources/style-resource.html">{@code &lt;style>}</a> that youve
applied to your application or activity.</p> applied to your application or activity.</p>
<p>Keep in mind that screens connected to the users device often have a larger screen size and <p>Keep in mind that screens connected to the users device often have a larger screen size and

View File

@ -1,9 +1,15 @@
<?cs # Table of contents for Dev Guide. <?cs #########################################################
######## ###############
######## ATTENTION ###############
######## ###############
#########################################################
For each document available in translation, add an localized title to this TOC. IF YOU MAKE CHANGES TO THIS FILE, YOU MUST GENERATE THE
Do not add localized title for docs not available in translation. GMS REFERENCE DOCS, BECAUSE THEY ARE NOT INCLUDED IN THE
Below are template spans for adding localized doc titles. Please ensure that DOCS BUILD RULE.
localized titles are added in the language order specified below.
#########################################################
#########################################################
?> ?>
<ul id="nav"> <ul id="nav">

View File

@ -700,7 +700,7 @@ mNotificationManager.notify(id, builder.build());
element for the {@link android.app.Activity} element for the {@link android.app.Activity}
<dl> <dl>
<dt> <dt>
<code><a href="guide/topics/manifest/activity-element.html#nm">android:name</a>="<i>activityclass</i>"</code> <code><a href="{@docRoot}guide/topics/manifest/activity-element.html#nm">android:name</a>="<i>activityclass</i>"</code>
</dt> </dt>
<dd> <dd>
The activity's fully-qualified class name. The activity's fully-qualified class name.

File diff suppressed because it is too large Load Diff

View File

@ -123,7 +123,7 @@ If you are connected to only a single device, you do not need to set the ANDROID
<p>Before using the {@code uiautomator} testing framework, complete these pre-flight tasks: <p>Before using the {@code uiautomator} testing framework, complete these pre-flight tasks:
</p> </p>
<h3 id="loading">Load the application to a device</h3> <h3 id="loading">Load the application to a device</h3>
<p>If you are reading this document, chances are that the Android application that you want to test has not been published yet. If you have a copy of the APK file, you can install the APK onto a test device by using the {@code adb} tool. To learn how to install an APK file using the {@code adb} tool, see the <a href="@docRoot}/tools/help/adb.html#move">{@code adb}</a> documentation. </p> <p>If you are reading this document, chances are that the Android application that you want to test has not been published yet. If you have a copy of the APK file, you can install the APK onto a test device by using the {@code adb} tool. To learn how to install an APK file using the {@code adb} tool, see the <a href="{@docRoot}tools/help/adb.html#move">{@code adb}</a> documentation. </p>
<h3 id="identifyUI">Identify the applications UI components</h3> <h3 id="identifyUI">Identify the applications UI components</h3>
<p>Before writing your {@code uiautomator} tests, first identify the UI components in the application that you want to test. Typically, good candidates for testing are UI components that are visible and that users can interact with. The UI components should also have visible text labels, <a href="{@docRoot}reference/android/view/View.html#attr_android:contentDescription">{@code android:contentDescription}</a> values, or both. <p>Before writing your {@code uiautomator} tests, first identify the UI components in the application that you want to test. Typically, good candidates for testing are UI components that are visible and that users can interact with. The UI components should also have visible text labels, <a href="{@docRoot}reference/android/view/View.html#attr_android:contentDescription">{@code android:contentDescription}</a> values, or both.
@ -173,7 +173,7 @@ If you are connected to only a single device, you do not need to set the ANDROID
<dl> <dl>
<DT><a href="{@docRoot}tools/help/uiautomator/UiDevice.html">{@code UiDevice}</a></DT> <DT><a href="{@docRoot}tools/help/uiautomator/UiDevice.html">{@code UiDevice}</a></DT>
<dd><p>Represents the device state. In your tests, you can call methods on the <a href="{@docRoot}tools/help/uiautomator/UiDevice.html">{@code UiDevice}</a> instance to check for the state of various properties, such as current orientation or display size. Your tests also can use the <a href="{@docRoot}tools/help/uiautomator/UiDevice.html">{@code UiDevice}</a> instance to perform device level actions, such as forcing the device into a specific rotation, pressing the d-pad hardware button, or pressing the Home and Menu buttons.</p> <dd><p>Represents the device state. In your tests, you can call methods on the <a href="{@docRoot}tools/help/uiautomator/UiDevice.html">{@code UiDevice}</a> instance to check for the state of various properties, such as current orientation or display size. Your tests also can use the <a href="{@docRoot}tools/help/uiautomator/UiDevice.html">{@code UiDevice}</a> instance to perform device level actions, such as forcing the device into a specific rotation, pressing the d-pad hardware button, or pressing the Home and Menu buttons.</p>
<p>To get an instance of <a href="{@docRoot}tools/help/UiDevice.html">{@code UiDevice}</a> and simulate a Home button press: <p>To get an instance of <a href="{@docRoot}tools/help/uiautomator/UiDevice.html">{@code UiDevice}</a> and simulate a Home button press:
<pre> <pre>
getUiDevice().pressHome(); getUiDevice().pressHome();
</pre></p></dd> </pre></p></dd>
@ -213,7 +213,7 @@ UiObject okButton = new UiObject(new UiSelector().text("OK")
</dd> </dd>
<dt><a href="{@docRoot}tools/help/uiautomator/UiCollection.html">{@code UiCollection}</a></dt> <dt><a href="{@docRoot}tools/help/uiautomator/UiCollection.html">{@code UiCollection}</a></dt>
<dd>Represents a collection of items, for example songs in a music album or a list of emails in an inbox. Similar to a <a href="{@docRoot}tools/help/uiautomator/UiObject.html">{@code UiObject}</a>, you construct a <a href="{@docRoot}tools/help/uiautomator/UiCollection.html">{@code UiCollection}</a> instance by specifying a <a href="{@docRoot}tools/help/UiSelector.html">{@code UiSelector}</a>. The <a href="{@docRoot}tools/help/uiautomator/UiSelector.html">{@code UiSelector}</a> for a <a href="{@docRoot}tools/help/uiautomator/UiCollection.html">{@code UiCollection}</a> should search for a UI element that is a container or wrapper of other child UI elements (such as a layout view that contains child UI elements). For example, the following code snippet shows how to construct a <a href="{@docRoot}tools/help/uiautomator/UiCollection.html">{@code UiCollection}</a> to represent a video album that is displayed within a {@link android.widget.FrameLayout}: <dd>Represents a collection of items, for example songs in a music album or a list of emails in an inbox. Similar to a <a href="{@docRoot}tools/help/uiautomator/UiObject.html">{@code UiObject}</a>, you construct a <a href="{@docRoot}tools/help/uiautomator/UiCollection.html">{@code UiCollection}</a> instance by specifying a <a href="{@docRoot}tools/help/uiautomator/UiSelector.html">{@code UiSelector}</a>. The <a href="{@docRoot}tools/help/uiautomator/UiSelector.html">{@code UiSelector}</a> for a <a href="{@docRoot}tools/help/uiautomator/UiCollection.html">{@code UiCollection}</a> should search for a UI element that is a container or wrapper of other child UI elements (such as a layout view that contains child UI elements). For example, the following code snippet shows how to construct a <a href="{@docRoot}tools/help/uiautomator/UiCollection.html">{@code UiCollection}</a> to represent a video album that is displayed within a {@link android.widget.FrameLayout}:
<pre> <pre>
UiCollection videos = new UiCollection(new UiSelector() UiCollection videos = new UiCollection(new UiSelector()
.className("android.widget.FrameLayout")); .className("android.widget.FrameLayout"));

View File

@ -2,8 +2,5 @@
<BODY> <BODY>
<p>Provides access to a few facilities of the Android security <p>Provides access to a few facilities of the Android security
subsystems.</p> subsystems.</p>
<p>For information on how to use this facility, see the <a
href="{@docRoot}guide/topics/security/keystore.html">Android
KeyStore facility</a> guide.</p>
</BODY> </BODY>
</HTML> </HTML>