From 95f6c758ae176747cf6675e37b984a8aece29dcd Mon Sep 17 00:00:00 2001
From: Joe Fernandez
A send-to-sync (collapsible) message is often a "tickle" that tells a mobile application to sync data from the server. For example, suppose you have an email application. When a user receives new email on the server, the server pings the mobile application with a "New mail" message. This tells the application to sync to the server to pick up the new email. +
A send-to-sync (collapsible) message is often a "tickle" that tells a mobile application to sync data from the server. For example, suppose you have an email application. When a user receives new email on the server, the server pings the mobile application with a "New mail" message. This tells the application to sync to the server to pick up the new email. Send-to-sync messages.
- +Unlike a send-to-sync message, every "message with payload" (non-collapsible message) is delivered. The payload the message contains can be up to 4kb. Messages with payload.
@@ -45,7 +46,7 @@ up to 4kb of payload data (so apps like instant messaging can consume the messagStreamlined registration makes it simple and fast to add GCM support to your Android app. Learn more »
GCM's Cloud Connection Service (CCS) lets you communicate with Android devices over a persistent XMPP connection. The primary advantages of CCS are speed, and the ability to receive upstream messages (that is, messages from a device to the cloud). You can use the service in tandem with existing GCM APIs. Use this form to sign up for CCS. Learn more »
- +Maps a single user to a notification key, which you can then use to send a single message to multiple devices owned by the user. Use this form to sign up for User Notifications. Learn more »
diff --git a/docs/html/guide/appendix/media-formats.jd b/docs/html/guide/appendix/media-formats.jd index feacdc6cffbb4..23420877d38f8 100644 --- a/docs/html/guide/appendix/media-formats.jd +++ b/docs/html/guide/appendix/media-formats.jd @@ -1,4 +1,5 @@ page.title=Android Supported Media Formats +page.tags="video","audio","mpeg","mp4","m4a","mp3","3gp","3gpp","flac","wave","wav" @jd:bodyThe Accessory Development Kit (ADK) is a reference implementation for hardware manufacturers and diff --git a/docs/html/tools/help/adb.jd b/docs/html/tools/help/adb.jd index c8afca5ded1c2..74f6c07f6b520 100644 --- a/docs/html/tools/help/adb.jd +++ b/docs/html/tools/help/adb.jd @@ -1,6 +1,7 @@ page.title=Android Debug Bridge parent.title=Tools parent.link=index.html +page.tags="adb" @jd:body
| Category | -Command | -Description | -Comments | +Category | +Command | +Description | +Comments | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ports and Networking | forward <local> <remote> |
Forwards socket connections from a specified local port to a specified remote port on the emulator/device instance. | -Port specifications can use these schemes: + | Port specifications can use these schemes:
|
|||||||||||||||||||||
wait-for-device |
Blocks execution until the device is online — that is, until the instance state is device. |
-You can prepend this command to other adb commands, in which case adb will wait until the emulator/device instance is connected before issuing the other commands. Here's an example: + | You can prepend this command to other adb commands, in which case adb will wait until the emulator/device instance is connected before issuing the other commands. Here's an example:
adb wait-for-device shell getprop-Note that this command does not cause adb to wait until the entire system is fully booted. For that reason, you should not prepend it to other commands that require a fully booted system. As an example, the install requires the Android package manager, which is available only after the system is fully booted. A command such as
+Note that this command does not cause adb to wait until the entire system is fully booted. For that reason, you should not prepend it to other commands that require a fully booted system. As an example, the install requires the Android package manager, which is available only after the system is fully booted. A command such as
adb wait-for-device install <app>.apk@@ -280,34 +281,34 @@ would issue the install command as soon as the emulator or device i
Before issuing adb commands, it is helpful to know what emulator/device instances are connected to the adb server. You can generate a list of attached emulators/devices using the adb devices+ adb devices In response, adb prints this status information for each instance:
The output for each instance is formatted like this: -[serialNumber] [state]+ [serialNumber] [state] Here's an example showing the adb devices -List of devices attached +when issuing adb commands. To do so, use theadb devices +List of devices attached emulator-5554 device emulator-5556 device emulator-5558 device@@ -323,13 +324,13 @@ emulator-5558 device -s option in the commands. The usage
for the -s option is:
- adb -s <serialNumber> <command>- + adb -s <serialNumber> <command>+ As shown, you specify the target instance for a command using its adb-assigned serial number.
You can use the adb -s emulator-5556 install helloWorld.apk+ adb -s emulator-5556 install helloWorld.apk Note that, if you issue a command without specifying a target emulator/device instance while multiple devices are available, adb generates an error. @@ -377,10 +378,10 @@ commands let you copy arbitrary directories and files to any location in an emulator/device instance. To copy a file or directory (and its sub-directories) from the emulator or device, use -adb pull <remote> <local>+ adb pull <remote> <local> To copy a file or directory (and its sub-directories) to the emulator or device, use -adb push <local> <remote>+ adb push <local> <remote> In the commands, Issuing Shell Commands-Adb provides a Unix shell that you can use to run a variety of commands on an emulator -or connected device. The command binaries are stored in the file system of the emulator or device, + Adb provides a Unix shell that you can use to run a variety of commands on an emulator
+or connected device. The command binaries are stored in the file system of the emulator or device,
at Two of the most common command tools are activity manager ({@code am}) and
@@ -408,11 +409,11 @@ at adb [-d|-e|-s <serialNumber>] shell <shell_command>- + adb [-d|-e|-s <serialNumber>] shell <shell_command>+ Or enter a remote shell on an emulator/device like this: -adb [-d|-e|-s <serialNumber>] shell+ adb [-d|-e|-s <serialNumber>] shell When you are ready to exit the remote shell, press CTRL+D or type
Table 2. Available activity manager commands
Table 3. Available package manager commands.
|