Skip to content

Commit

Permalink
docs: fix broken links and add new sitemap text file
Browse files Browse the repository at this point in the history
Change-Id: If0f7967a65a6e3a444a565a2e8229a04a5265f56
  • Loading branch information
scottamain committed Jan 4, 2013
1 parent 9d7578c commit 188315c
Show file tree
Hide file tree
Showing 7 changed files with 6,200 additions and 5,859 deletions.
2 changes: 1 addition & 1 deletion docs/html/about/versions/android-4.2.jd
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ android.media.MediaRouter#getSelectedRoute MediaRouter.getSelectedRoute()} as me
secondary screens, you can apply
a different theme by specifying the {@link
android.R.attr#presentationTheme android:presentationTheme} attribute in the <a
href={@docRoot}guide/topics/resources/style-resource.html>{@code &lt;style>}</a> that you’ve
href="{@docRoot}guide/topics/resources/style-resource.html">{@code &lt;style>}</a> that you’ve
applied to your application or activity.</p>

<p>Keep in mind that screens connected to the user’s device often have a larger screen size and
Expand Down
18 changes: 12 additions & 6 deletions docs/html/google/google_toc.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
<?cs # Table of contents for Dev Guide.

For each document available in translation, add an localized title to this TOC.
Do not add localized title for docs not available in translation.
Below are template spans for adding localized doc titles. Please ensure that
localized titles are added in the language order specified below.
<?cs #########################################################
######## ###############
######## ATTENTION ###############
######## ###############
#########################################################

IF YOU MAKE CHANGES TO THIS FILE, YOU MUST GENERATE THE
GMS REFERENCE DOCS, BECAUSE THEY ARE NOT INCLUDED IN THE
DOCS BUILD RULE.

#########################################################
#########################################################
?>

<ul id="nav">
Expand Down
4 changes: 2 additions & 2 deletions docs/html/google/play/billing/billing_integrate.jd
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ parent.link=index.html
<ol>
<li><a href="#QueryDetails">Querying Items Available for Purchase</a><li>
<li><a href="#Purchase">Purchasing an Item</a></li>
<li><a href="QueryPurchases">Querying Purchased Items</a></li>
<li><a href="Consume">Consuming a Purchase</a><li>
<li><a href="#QueryPurchases">Querying Purchased Items</a></li>
<li><a href="#Consume">Consuming a Purchase</a><li>
</ol>
</li>
</ol>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/guide/topics/ui/notifiers/notifications.jd
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ mNotificationManager.notify(id, builder.build());
element for the {@link android.app.Activity}
<dl>
<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>
<dd>
The activity's fully-qualified class name.
Expand Down
12,024 changes: 6,181 additions & 5,843 deletions docs/html/sitemap.txt

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/html/tools/testing/testing_ui.jd
Original file line number Diff line number Diff line change
Expand Up @@ -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>
<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 application’s 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.
Expand Down Expand Up @@ -173,7 +173,7 @@ If you are connected to only a single device, you do not need to set the ANDROID
<dl>
<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>
<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>
getUiDevice().pressHome();
</pre></p></dd>
Expand Down Expand Up @@ -213,7 +213,7 @@ UiObject okButton = new UiObject(new UiSelector().text("OK")
</dd>

<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>
UiCollection videos = new UiCollection(new UiSelector()
.className("android.widget.FrameLayout"));
Expand Down
3 changes: 0 additions & 3 deletions keystore/java/android/security/package.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
<BODY>
<p>Provides access to a few facilities of the Android security
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>
</HTML>

0 comments on commit 188315c

Please sign in to comment.