From f284d49293aead609de5b83d601260cfd86b7978 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Tue, 31 Jul 2012 09:46:52 -0700 Subject: docs: fix broken links Change-Id: I0523fb8eb8608b07cf7ca866d0c2ccfcbfc2e946 --- docs/html/guide/components/services.jd | 7 ------- docs/html/guide/practices/security.jd | 12 +++++------- .../ui_guidelines/icon_design_launcher_archive.jd | 2 +- docs/html/guide/samples/index.html | 4 ++-- docs/html/guide/topics/data/backup.jd | 5 +---- docs/html/guide/topics/data/install-location.jd | 15 ++++----------- docs/html/guide/topics/manifest/manifest-element.jd | 2 +- .../guide/topics/providers/content-provider-basics.jd | 6 +++--- docs/html/guide/topics/resources/layout-resource.jd | 7 +++---- docs/html/guide/topics/resources/runtime-changes.jd | 4 ++-- docs/html/guide/topics/sensors/index.jd | 2 +- docs/html/guide/topics/sensors/sensors_overview.jd | 2 +- docs/html/guide/topics/text/creating-input-method.jd | 12 ++++++------ docs/html/guide/topics/text/spell-checker-framework.jd | 1 - docs/html/guide/topics/ui/accessibility/services.jd | 2 +- docs/html/guide/topics/ui/layout/relative.jd | 8 ++++---- 16 files changed, 35 insertions(+), 56 deletions(-) (limited to 'docs/html/guide') diff --git a/docs/html/guide/components/services.jd b/docs/html/guide/components/services.jd index ba5e1f03b277..b89914a60e0f 100644 --- a/docs/html/guide/components/services.jd +++ b/docs/html/guide/components/services.jd @@ -49,13 +49,6 @@ perform interprocess communication LocalService} -

Articles

-
    -
  1. Multitasking the Android Way
  2. -
  3. Service API changes starting - with Android 2.0
  4. -
-

See also

  1. Bound Services
  2. diff --git a/docs/html/guide/practices/security.jd b/docs/html/guide/practices/security.jd index 48ccdebcfc93..ce59a9dd494f 100644 --- a/docs/html/guide/practices/security.jd +++ b/docs/html/guide/practices/security.jd @@ -134,9 +134,8 @@ dynamic permission grants on a case-by-case basis.

    To provide additional protection for sensitive data, some applications choose to encrypt local files using a key that is not accessible to the -application. (For example, a key can be placed in a KeyStore and -protected with a user password that is not stored on the device). While this +application. (For example, a key can be placed in a {@link java.security.KeyStore} +and protected with a user password that is not stored on the device). While this does not protect data from a root compromise that can monitor the user inputting the password, it can provide protection for a lost device without file system @@ -716,8 +715,7 @@ href="{@docRoot}reference/android/accounts/AccountManager.html"> AccountManager using checkSignature(). Alternatively, if only one application will use the credential, you might use a -KeyStore for +{@link java.security.KeyStore} for storage.

    @@ -751,8 +749,8 @@ href="{@docRoot}reference/javax/crypto/KeyGenerator.html"> number generator significantly weakens the strength of the algorithm, and may allow offline attacks.

    -

    If you need to store a key for repeated use, use a mechanism like KeyStore that +

    If you need to store a key for repeated use, use a mechanism like + {@link java.security.KeyStore} that provides a mechanism for long term storage and retrieval of cryptographic keys.

    diff --git a/docs/html/guide/practices/ui_guidelines/icon_design_launcher_archive.jd b/docs/html/guide/practices/ui_guidelines/icon_design_launcher_archive.jd index f6c2247c2bbf..452979703a10 100644 --- a/docs/html/guide/practices/ui_guidelines/icon_design_launcher_archive.jd +++ b/docs/html/guide/practices/ui_guidelines/icon_design_launcher_archive.jd @@ -58,7 +58,7 @@ suggestions on how to work with multiple sets of icons.

    Application Icons on Google Play

    -

    If you are publishing +

    If you are publishing your application on Google Play, you will also need to provide a 512x512 pixel, high-resolution application icon in the developer console at upload-time. diff --git a/docs/html/guide/samples/index.html b/docs/html/guide/samples/index.html index f4acdbfee5a1..959eaf53eb11 100644 --- a/docs/html/guide/samples/index.html +++ b/docs/html/guide/samples/index.html @@ -1,10 +1,10 @@ - + Redirecting...

    You should have been redirected. Please click here.

    +href="http://developer.android.com/tools/samples/index.html">click here.

    \ No newline at end of file diff --git a/docs/html/guide/topics/data/backup.jd b/docs/html/guide/topics/data/backup.jd index 602b6e84b225..598b08a59547 100644 --- a/docs/html/guide/topics/data/backup.jd +++ b/docs/html/guide/topics/data/backup.jd @@ -187,10 +187,7 @@ href="#RestoreVersion">Checking the Restore Data Version for more informatio available only on devices running API Level 8 (Android 2.2) or greater, so you should also set your {@code android:minSdkVersion} -attribute to "8". However, if you implement proper backward compatibility in -your application, you can support this feature for devices running API Level 8 or greater, while -remaining compatible with older devices.

    +attribute to "8".

    diff --git a/docs/html/guide/topics/data/install-location.jd b/docs/html/guide/topics/data/install-location.jd index 19c4b3900ef1..5abdced5519f 100644 --- a/docs/html/guide/topics/data/install-location.jd +++ b/docs/html/guide/topics/data/install-location.jd @@ -111,10 +111,7 @@ storage.

    Caution: Although XML markup such as this will be ignored by older platforms, you must be careful not to use programming APIs introduced in API Level 8 while your {@code minSdkVersion} is less than "8", unless you perform the work necessary to -provide backward compatibility in your code. For information about building -backward compatibility in your application code, see the Backward Compatibility -article.

    +provide backward compatibility in your code.

    @@ -141,17 +138,13 @@ system again. At which time, you can restart your Service.
    Your alarms registered with {@link android.app.AlarmManager} will be cancelled. You must manually re-register any alarms when external storage is remounted.
    Input Method Engines
    -
    Your IME will be +
    Your IME will be replaced by the default IME. When external storage is remounted, the user can open system settings to enable your IME again.
    Live Wallpapers
    -
    Your running Live Wallpaper +
    Your running Live Wallpaper will be replaced by the default Live Wallpaper. When external storage is remounted, the user can select your Live Wallpaper again.
    -
    Live Folders
    -
    Your Live Folder will be -removed from the home screen. When external storage is remounted, the user can add your Live Folder -to the home screen again.
    App Widgets
    Your App Widget will be removed from the home screen. When external storage is remounted, your App Widget will not be @@ -174,7 +167,7 @@ external storage, it can never receive this broadcast.
    Copy Protection
    Your application cannot be installed to a device's SD card if it uses Google Play's Copy Protection feature. However, if you use Google Play's - Application Licensing instead, your + Application Licensing instead, your application can be installed to internal or external storage, including SD cards.
    diff --git a/docs/html/guide/topics/manifest/manifest-element.jd b/docs/html/guide/topics/manifest/manifest-element.jd index a3d4a955e396..7a7020afe814 100644 --- a/docs/html/guide/topics/manifest/manifest-element.jd +++ b/docs/html/guide/topics/manifest/manifest-element.jd @@ -152,7 +152,7 @@ either internal or external storage through the system settings.

    Caution: If your application uses Google Play's Copy Protection feature, it cannot be installed to a device's SD card. However, if you use Google - Play's Application Licensing instead, + Play's Application Licensing instead, your application can be installed to internal or external storage, including SD cards.

    Note: By default, your application will be installed on the diff --git a/docs/html/guide/topics/providers/content-provider-basics.jd b/docs/html/guide/topics/providers/content-provider-basics.jd index 79990336fb1f..f5e480595fc5 100644 --- a/docs/html/guide/topics/providers/content-provider-basics.jd +++ b/docs/html/guide/topics/providers/content-provider-basics.jd @@ -1031,11 +1031,11 @@ mRowsDeleted = getContentResolver().delete( android:grantUriPermission attribute of the - {@code <provider>} + {@code <provider>} element, as well as the - {@code + {@code <grant-uri-permission>} child element of the - {@code <provider>} + {@code <provider>} element. The URI permissions mechanism is explained in more detail in the Security and Permissions guide, in the section "URI Permissions". diff --git a/docs/html/guide/topics/resources/layout-resource.jd b/docs/html/guide/topics/resources/layout-resource.jd index c653b0cc366e..cd88ae94bb6d 100644 --- a/docs/html/guide/topics/resources/layout-resource.jd +++ b/docs/html/guide/topics/resources/layout-resource.jd @@ -169,8 +169,8 @@ root element.

    Another way to include a layout is to use {@link android.view.ViewStub}. It is a lightweight View that consumes no layout space until you explicitly inflate it, at which point, it includes a layout file defined by its {@code android:layout} attribute. For more information about using {@link -android.view.ViewStub}, read Layout -Tricks: ViewStubs.

    +android.view.ViewStub}, read Loading + Views On Demand.

    <merge>
    @@ -181,8 +181,7 @@ that already contains the appropriate parent View to contain the children of the in another layout file using <include> and this layout doesn't require a different {@link android.view.ViewGroup} container. For more information about merging layouts, read Layout -Tricks: Merging. +href="{@docRoot}training/improving-layouts/reusing-layouts.html">Re-using Layouts with <include/>. diff --git a/docs/html/guide/topics/resources/runtime-changes.jd b/docs/html/guide/topics/resources/runtime-changes.jd index f5475b40abc4..5f39aa534e62 100644 --- a/docs/html/guide/topics/resources/runtime-changes.jd +++ b/docs/html/guide/topics/resources/runtime-changes.jd @@ -16,8 +16,8 @@ parent.link=index.html
    1. Providing Resources
    2. Accessing Resources
    3. -
    4. Faster Screen -Orientation Change
    5. +
    6. Faster + Screen Orientation Change
    diff --git a/docs/html/guide/topics/sensors/index.jd b/docs/html/guide/topics/sensors/index.jd index a0458994d36d..726476ab12ac 100644 --- a/docs/html/guide/topics/sensors/index.jd +++ b/docs/html/guide/topics/sensors/index.jd @@ -18,7 +18,7 @@ the default position, the screens are wider than they are tall. This introduces issues that we’ve noticed causing problems in some apps.

    - +

    A Deep Dive Into Location

    I’ve written an open-source reference app that incorporates all of the tips, tricks, and cheats I know to reduce the time between opening an app and seeing an up-to-date list of nearby diff --git a/docs/html/guide/topics/sensors/sensors_overview.jd b/docs/html/guide/topics/sensors/sensors_overview.jd index e38a8430a878..a162ccfbfa8d 100644 --- a/docs/html/guide/topics/sensors/sensors_overview.jd +++ b/docs/html/guide/topics/sensors/sensors_overview.jd @@ -662,7 +662,7 @@ whether there's a pressure sensor on a device:

    Using Google Play filters to target specific sensor configurations

    If you are publishing your application on Google Play you can use the - <uses-feature> + <uses-feature> element in your manifest file to filter your application from devices that do not have the appropriate sensor configuration for your application. The <uses-feature> element has several hardware descriptors that let you filter diff --git a/docs/html/guide/topics/text/creating-input-method.jd b/docs/html/guide/topics/text/creating-input-method.jd index e49610f6f34e..7086824a755f 100644 --- a/docs/html/guide/topics/text/creating-input-method.jd +++ b/docs/html/guide/topics/text/creating-input-method.jd @@ -1,6 +1,5 @@ page.title=Creating an Input Method parent.title=Articles -parent.link=../browser.html?tag=article @jd:body

    @@ -162,8 +161,8 @@ parent.link=../browser.html?tag=article In this example, {@code MyKeyboardView} is an instance of a custom implementation of {@link android.inputmethodservice.KeyboardView} that renders a {@link android.inputmethodservice.Keyboard}. If you’re building a traditional QWERTY keyboard, - see the Soft Keyboard sample - app for an example of how to extend the {@link android.inputmethodservice.KeyboardView} class. + see the Soft Keyboard sample + app for an example of how to extend the {@link android.inputmethodservice.KeyboardView} class.

    Candidates view

    @@ -175,7 +174,8 @@ parent.link=../browser.html?tag=article default behavior, so you don’t have to implement this if you don’t provide suggestions).

    For an example implementation that provides user suggestions, see the - Soft Keyboard sample app. + Soft Keyboard sample + app.

    UI design considerations

    @@ -388,8 +388,8 @@ The input type bit pattern can have one of several values, including: To intercept hardware keys, override {@link android.inputmethodservice.InputMethodService#onKeyDown(int, KeyEvent) onKeyDown()} and {@link android.inputmethodservice.InputMethodService#onKeyUp(int, KeyEvent) onKeyUp()}. - See the Soft Keyboard sample - app for an example. + See the Soft Keyboard sample + app for an example.

    Remember to call the super() method for keys you don't want to handle yourself. diff --git a/docs/html/guide/topics/text/spell-checker-framework.jd b/docs/html/guide/topics/text/spell-checker-framework.jd index 1c2e211b58e5..7f7a0b84e53d 100644 --- a/docs/html/guide/topics/text/spell-checker-framework.jd +++ b/docs/html/guide/topics/text/spell-checker-framework.jd @@ -1,6 +1,5 @@ page.title=Spelling Checker Framework parent.title=Articles -parent.link=../browser.html?tag=article @jd:body

    diff --git a/docs/html/guide/topics/ui/accessibility/services.jd b/docs/html/guide/topics/ui/accessibility/services.jd index 0c1d06512128..7d36181941c4 100644 --- a/docs/html/guide/topics/ui/accessibility/services.jd +++ b/docs/html/guide/topics/ui/accessibility/services.jd @@ -10,7 +10,7 @@ parent.link=index.html
    1. Manifest Declarations and Permissions
        -
      1. Accessibility service declaration
      2. +
      3. Accessibility service declaration
      4. Accessibility service configuration
    2. diff --git a/docs/html/guide/topics/ui/layout/relative.jd b/docs/html/guide/topics/ui/layout/relative.jd index ee6cf02bd642..47f94176f4a2 100644 --- a/docs/html/guide/topics/ui/layout/relative.jd +++ b/docs/html/guide/topics/ui/layout/relative.jd @@ -44,19 +44,19 @@ android.widget.RelativeLayout.LayoutParams}.

      include:

      {@code android:layout_alignParentTop}
      If {@code "true"}, makes the top edge of this view match the top edge of the parent.
      {@code android:layout_centerVertical}
      If {@code "true"}, centers this child vertically within its parent.
      {@code android:layout_below}
      Positions the top edge of this view below the view specified with a resource ID.
      {@code android:layout_toRightOf}
      Positions the left edge of this view to the right of the view specified with a resource ID.
      -- cgit v1.2.3-59-g8ed1b