diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/app/backup/BackupAgent.java | 10 | ||||
-rw-r--r-- | core/java/android/app/backup/BackupAgentHelper.java | 6 | ||||
-rw-r--r-- | core/java/android/app/backup/BackupManager.java | 9 | ||||
-rw-r--r-- | core/java/android/content/SharedPreferences.java | 6 | ||||
-rw-r--r-- | core/java/android/widget/AdapterView.java | 6 |
5 files changed, 33 insertions, 4 deletions
diff --git a/core/java/android/app/backup/BackupAgent.java b/core/java/android/app/backup/BackupAgent.java index 9542874..9ad33a5 100644 --- a/core/java/android/app/backup/BackupAgent.java +++ b/core/java/android/app/backup/BackupAgent.java @@ -46,9 +46,15 @@ import libcore.io.StructStat; * {@link #onBackup(ParcelFileDescriptor, BackupDataOutput, ParcelFileDescriptor) onBackup()} * and {@link #onRestore(BackupDataInput, int, ParcelFileDescriptor) onRestore()} methods, * and provide the name of its backup agent class in its {@code AndroidManifest.xml} file via - * the <code><a - * href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> + * the <code> + * <a href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> * tag's {@code android:backupAgent} attribute. + * + * <div class="special reference"> + * <h3>Developer Guides</h3> + * <p>For more information about using BackupAgent, read the + * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div> + * * <h3>Basic Operation</h3> * <p> * When the application makes changes to data that it wishes to keep backed up, diff --git a/core/java/android/app/backup/BackupAgentHelper.java b/core/java/android/app/backup/BackupAgentHelper.java index d47ca22..45daead 100644 --- a/core/java/android/app/backup/BackupAgentHelper.java +++ b/core/java/android/app/backup/BackupAgentHelper.java @@ -42,6 +42,12 @@ import java.io.IOException; * {@link BackupAgentHelper} framework. See the {@link BackupHelper} interface * documentation for details. * + * <div class="special reference"> + * <h3>Developer Guides</h3> + * <p>For more information about using BackupAgentHelper, read the + * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p> + * </div> + * * @see BackupHelper * @see FileBackupHelper * @see SharedPreferencesBackupHelper diff --git a/core/java/android/app/backup/BackupManager.java b/core/java/android/app/backup/BackupManager.java index 80656a1..6eebed2 100644 --- a/core/java/android/app/backup/BackupManager.java +++ b/core/java/android/app/backup/BackupManager.java @@ -41,10 +41,15 @@ import android.util.Log; * of how the operation then proceeds. * <p> * Several attributes affecting the operation of the backup and restore mechanism - * can be set on the <code><a - * href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> + * can be set on the <code> + * <a href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code> * tag in your application's AndroidManifest.xml file. * + * <div class="special reference"> + * <h3>Developer Guides</h3> + * <p>For more information about using BackupManager, read the + * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div> + * * @attr ref android.R.styleable#AndroidManifestApplication_allowBackup * @attr ref android.R.styleable#AndroidManifestApplication_backupAgent * @attr ref android.R.styleable#AndroidManifestApplication_killAfterRestore diff --git a/core/java/android/content/SharedPreferences.java b/core/java/android/content/SharedPreferences.java index 4d9ee54..bdc38d6 100644 --- a/core/java/android/content/SharedPreferences.java +++ b/core/java/android/content/SharedPreferences.java @@ -30,6 +30,12 @@ import java.util.Set; * <p><em>Note: currently this class does not support use across multiple * processes. This will be added later.</em> * + * <div class="special reference"> + * <h3>Developer Guides</h3> + * <p>For more information about using SharedPreferences, read the + * <a href="{@docRoot}guide/topics/data/data-storage.html#pref">Data Storage</a> + * developer guide.</p></div> + * * @see Context#getSharedPreferences */ public interface SharedPreferences { diff --git a/core/java/android/widget/AdapterView.java b/core/java/android/widget/AdapterView.java index 5d01a0f..40df168 100644 --- a/core/java/android/widget/AdapterView.java +++ b/core/java/android/widget/AdapterView.java @@ -38,6 +38,12 @@ import android.view.accessibility.AccessibilityNodeInfo; * <p> * See {@link ListView}, {@link GridView}, {@link Spinner} and * {@link Gallery} for commonly used subclasses of AdapterView. + * + * <div class="special reference"> + * <h3>Developer Guides</h3> + * <p>For more information about using AdapterView, read the + * <a href="{@docRoot}guide/topics/ui/binding.html">Binding to Data with AdapterView</a> + * developer guide.</p></div> */ public abstract class AdapterView<T extends Adapter> extends ViewGroup { |