diff --git a/docs/html/guide/developing/eclipse-adt.jd b/docs/html/guide/developing/eclipse-adt.jd index cf2a45716d34c..66379a3945d2c 100644 --- a/docs/html/guide/developing/eclipse-adt.jd +++ b/docs/html/guide/developing/eclipse-adt.jd @@ -527,7 +527,7 @@ Marking a project as an Android library project.

A library project's manifest file must declare all of the shared components that it includes, just as would a standard Android application. For more information, see the documentation for AndroidManifest.xml.

+href="{@docRoot}guide/topics/manifest/manifest-intro.html">AndroidManifest.xml.

For example, the TicTacToeLib @@ -613,7 +613,8 @@ like this:

... </manifest> -

For more information about the manifest file, see the documentation for AndroidManifest.xml.

+

For more information about the manifest file, see the documentation for AndroidManifest.xml.

Development considerations

diff --git a/docs/html/guide/developing/other-ide.jd b/docs/html/guide/developing/other-ide.jd index e8a6fb6494f82..1d67aa90ede4e 100644 --- a/docs/html/guide/developing/other-ide.jd +++ b/docs/html/guide/developing/other-ide.jd @@ -687,7 +687,7 @@ so that other applications can use it, you can do so by adding a the

A library project's manifest file must declare all of the shared components that it includes, just as would a standard Android application. For more information, see the documentation for AndroidManifest.xml.

+href="{@docRoot}guide/topics/manifest/manifest-intro.html">AndroidManifest.xml.

For example, the TicTacToeLib @@ -799,7 +799,8 @@ like this:

... </manifest> -

For more information about the manifest file, see the documentation for AndroidManifest.xml.

+

For more information about the manifest file, see the documentation for AndroidManifest.xml.

Building a dependent application

diff --git a/docs/html/guide/samples/index.jd b/docs/html/guide/samples/index.jd index 2f3ac5ebb6bc1..bd9ea52bc6ffd 100644 --- a/docs/html/guide/samples/index.jd +++ b/docs/html/guide/samples/index.jd @@ -3,99 +3,13 @@ page.title=Sample Code @jd:body -

Sometimes, the best way to learn how things are done is to look at some code. -Here, you can browse the source of some sample Android applications that are included -in the Android SDK.

+ -

Each version of the Android platform available for the SDK includes a full set of sample -applications (which may vary between different versions of the platform). -You can find the samples in your SDK at:

- -

-<sdk>/platforms/android-<version>/samples/ -

- -

You can easily create new Android projects with these samples, modify them -if you'd like, then run them on an emulator or device. For example, to create -a project for the API Demos app from Eclipse, -start a new Android Project, select "Create project from existing source", then select -{@code ApiDemos} in the {@code samples/} directory. To create the API Demos project -using the {@code android} tool, execute:

-
-android update project -s -n API Demos -t <target_ID> -p <path-to-platform>/samples/ApiDemos/
-
- -

The pages below provide an overview of each sample application (available with most -platforms) and allow you to view the source files in your browser.

- -
-

Some of the samples in this listing are not yet available in the - SDK. While we work to update the SDK, you can - download the latest samples as a ZIP - archive.

-
- -
- -
API Demos
-
A variety of small applications that demonstrate an extensive collection of - framework topics.
- -
Backup and Restore
-
An simple example that illustrates a few different ways for an application to - implement support for the Android data backup and restore mechanism.
- -
Bluetooth Chat
-
An application for two-way text messaging over Bluetooth.
- -
Contact Manager
-
An application that demonstrates how to query the system contacts provider - using the ContactsContract API, as - well as insert contacts into a specific account.
- -
Home
-
A home screen replacement application.
- -
JetBoy
-
JetBoy is a game that demonstrates the SONiVOX JET interactive music technology, - with {@link android.media.JetPlayer}.
- -
Lunar Lander
-
A classic Lunar Lander game.
- -
Multiple Resolutions
-
A sample application that shows how to use resource directory qualifiers to - provide different resources for different screen configurations.
- -
Note Pad
-
An application for saving notes. Similar (but not identical) to the - Notepad tutorial.
- -
Searchable Dictionary
-
A sample application that demonstrates Android's search framework, - including how to provide search suggestions for Quick Search Box.
- -
Snake
-
An implementation of the classic game "Snake."
- -
Soft Keyboard
-
An example of writing an input method for a software keyboard.
- -
Wiktionary
-
An example of creating interactive widgets for display on the Android - home screen.
- -
Wiktionary (Simplified)
-
A simple Android home screen widgets example.
- -
+

This document has moved. Please go to List of Sample +Apps.

-
-

For more sample applications, check out -apps-for-android, a -collection of open source applications that demonstrate various Android APIs. -

-
- diff --git a/docs/html/guide/topics/data/backup.jd b/docs/html/guide/topics/data/backup.jd index aeefca8f95535..6c02031fd4f57 100644 --- a/docs/html/guide/topics/data/backup.jd +++ b/docs/html/guide/topics/data/backup.jd @@ -240,7 +240,7 @@ Backup Service Key is ignored.

Extending BackupAgent

Most applications shouldn't need to extend the {@link android.app.backup.BackupAgent} class -directly, but should instead extend BackupAgentHelper to take +directly, but should instead extend BackupAgentHelper to take advantage of the built-in helper classes that automatically backup and restore your files. However, you might want to extend {@link android.app.backup.BackupAgent} directly if you need to: