diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/guide/appendix/media-formats.jd | 6 | ||||
-rw-r--r-- | docs/html/guide/topics/manifest/manifest-element.jd | 5 | ||||
-rw-r--r-- | docs/html/guide/topics/manifest/uses-feature-element.jd | 76 | ||||
-rwxr-xr-x | docs/html/images/sdk_manager_packages.png | bin | 79905 -> 88599 bytes | |||
-rw-r--r-- | docs/html/resources/resources_toc.cs | 3 | ||||
-rw-r--r-- | docs/html/resources/samples/images/NfcDemo.png | bin | 0 -> 12750 bytes | |||
-rw-r--r-- | docs/html/resources/samples/index.jd | 3 | ||||
-rw-r--r-- | docs/html/sdk/adding-components.jd | 52 | ||||
-rw-r--r-- | docs/html/sdk/index.jd | 3 | ||||
-rw-r--r-- | docs/html/sdk/installing.jd | 129 |
10 files changed, 178 insertions, 99 deletions
diff --git a/docs/html/guide/appendix/media-formats.jd b/docs/html/guide/appendix/media-formats.jd index 94a6471..8709994 100644 --- a/docs/html/guide/appendix/media-formats.jd +++ b/docs/html/guide/appendix/media-formats.jd @@ -22,7 +22,7 @@ page.title=Android Supported Media Formats <tr> <td rowspan="9">Audio</td> <td>AAC LC/LTP</td> -<td> </td> +<td style="text-align: center;">X</td> <td style="text-align: center;">X</td> <td rowspan="3">Mono/Stereo content in any combination of standard bit rates up to 160 kbps and sampling rates from 8 to 48kHz</td> <td rowspan="3">3GPP (.3gp) and MPEG-4 (.mp4, .m4a). No support for raw AAC (.aac)</td> @@ -51,7 +51,7 @@ page.title=Android Supported Media Formats <tr> <td>AMR-WB</td> -<td> </td> +<td style="text-align: center;">X</td> <td style="text-align: center;">X</td> <td>9 rates from 6.60 kbit/s to 23.85 kbit/s sampled @ 16kHz</td> <td>3GPP (.3gp)</td> @@ -109,7 +109,7 @@ page.title=Android Supported Media Formats <tr> <td>PNG</td> -<td> </td> +<td style="text-align: center;">X</td> <td style="text-align: center;">X</td> <td> </td> <td>PNG (.png)</td> diff --git a/docs/html/guide/topics/manifest/manifest-element.jd b/docs/html/guide/topics/manifest/manifest-element.jd index a35c5a1..7f21e6b 100644 --- a/docs/html/guide/topics/manifest/manifest-element.jd +++ b/docs/html/guide/topics/manifest/manifest-element.jd @@ -159,6 +159,9 @@ multiple SD cards can be used with the same device.</li> storage. However, the system will not allow the user to move the application to external storage if this attribute is set to {@code internalOnly}, which is the default setting.</p> +<p>Read <a href="{@docRoot}guide/appendix/install-location.html">App Install Location</a> for +more information about using this attribute (including how to maintain backward compatibility).</p> + <p>Introduced in: API Level 8.</p> @@ -173,7 +176,7 @@ this attribute is set to {@code internalOnly}, which is the default setting.</p> <p> <dt>see also:</dt> -<dd><a href="{@docRoot}guide/appendix/install-location.html">App Install Location</a><br/> +<dd> <code><a href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code></dd> </dl> diff --git a/docs/html/guide/topics/manifest/uses-feature-element.jd b/docs/html/guide/topics/manifest/uses-feature-element.jd index 45f4a66..b5b30f6 100644 --- a/docs/html/guide/topics/manifest/uses-feature-element.jd +++ b/docs/html/guide/topics/manifest/uses-feature-element.jd @@ -472,11 +472,11 @@ If you are developing in Eclipse with ADT, right-click the project and select Package</strong>. Select a destination filename and path and click <strong>OK</strong>. </li> <li>Next, locate the <code>aapt</code> tool, if it is not already in your PATH. -If you are using SDK Tools r7 or earlier, you can find <code>aapt</code> in the -<code><<em>SDK</em>>/platforms/android-<<em>platform</em>>/tools/</code> directory. +If you are using SDK Tools r8 or higher, you can find <code>aapt</code> in the +<code><<em>SDK</em>>/platform-tools/</code> directory. <p class="note"><strong>Note:</strong> You must use the version of -<code>aapt</code> that is provided for the latest platform release available. If -you do not have the latest platform release, download it using the <a +<code>aapt</code> that is provided for the latest Platform-Tools component available. If +you do not have the latest Platform-Tools component, download it using the <a href="{@docRoot}sdk/adding-components.html">Android SDK and AVD Manager</a>. </p></li> <li>Run <code>aapt</code> using this syntax: </li> @@ -522,6 +522,14 @@ in a separate <code><uses-feature></code> element. </p> <th>Comments</th> </tr> <tr> + <td>Audio</td> + <td><code>android.hardware.audio.low_latency</td> + <td>The application uses a low-latency audio pipeline on the device and +is sensitive to delays or lag in sound input or output.</td> +<td> +</td> + </tr> + <tr> <td>Bluetooth</td> <td><code>android.hardware.bluetooth</td> <td>The application uses Bluetooth radio features in the device.</td> @@ -529,7 +537,7 @@ in a separate <code><uses-feature></code> element. </p> </td> </tr> <tr> - <td rowspan="3">Camera</td> + <td rowspan="4">Camera</td> <td><code>android.hardware.camera</code></td> <td>The application uses the device's camera. If the device supports multiple cameras, the application uses the camera that facing @@ -539,7 +547,7 @@ in a separate <code><uses-feature></code> element. </p> <tr> <td><code>android.hardware.camera.autofocus</code></td> <td>Subfeature. The application uses the device camera's autofocus capability.</td> - <td rowspan="2">If declared with the <code>"android:required="true"</code> + <td rowspan="3">If declared with the <code>"android:required="true"</code> attribute, these subfeatures implicitly declare the <code>android.hardware.camera</code> parent feature. </td> </tr> @@ -547,6 +555,10 @@ attribute, these subfeatures implicitly declare the <td><code>android.hardware.camera.flash</code></td> <td>Subfeature. The application uses the device camera's flash.</td> </tr> +<tr> + <td><code>android.hardware.camera.front</code></td> + <td>Subfeature. The application uses a front-facing camera on the device.</td> +</tr> <tr> <td rowspan="3">Location</td> @@ -568,21 +580,43 @@ attribute, these subfeatures implicitly declare the <td>Subfeature. The application uses precise location coordinates obtained from a Global Positioning System receiver on the device. </td> </tr> - <tr> - <td rowspan="4">Sensors</td> + <td>Microphone</td> + <td><code>android.hardware.microphone</code></td> + <td>The application uses a microphone on the device. + </td> + <td></td> +</tr> +<tr> + <td>Near Field Communications</td> + <td><code>android.hardware.nfc</td> + <td>The application uses NFC radio features in the device.</td> + <td></td> +</tr> +<tr> + <td rowspan="6">Sensors</td> <td><code>android.hardware.sensor.accelerometer</code></td> <td>The application uses motion readings from an accelerometer on the device.</td> <td></td> </tr> <tr> + <td><code>android.hardware.sensor.barometer</code></td> + <td>The application uses the device's barometer.</td> + <td></td> +</tr> +<tr> <td><code>android.hardware.sensor.compass</code></td> <td>The application uses directional readings from a magnetometer (compass) on the device.</td> <td></td> </tr> <tr> + <td><code>android.hardware.sensor.gyroscope</code></td> + <td>The application uses the device's gyroscope sensor.</td> + <td></td> +</tr> +<tr> <td><code>android.hardware.sensor.light</code></td> <td>The application uses the device's light sensor.</td> <td></td> @@ -593,12 +627,20 @@ the device.</td> <td></td> </tr> <tr> - <td>Microphone</td> - <td><code>android.hardware.microphone</code></td> - <td>The application uses a microphone on the device. + <td rowspan="2">SIP/VOIP</td> + <td><code>android.hardware.sip</code></td> + <td>The application uses SIP service on the device. </td> <td></td> </tr> +<tr> + <td><code>android.hardware.sip.voip</code></td> + <td>Subfeature. The application uses SIP-based VOIP service on the device. + </td> + <td>If declared with the <code>"android:required="true"</code> attribute, this +subfeature implicitly declares the <code>android.hardware.sip</code> +parent feature.</td> +</tr> <tr> <td rowspan="3">Telephony</td> @@ -622,14 +664,14 @@ device.</td> </tr> <tr> - <td rowspan="3">Touchscreen</td> + <td rowspan="4">Touchscreen</td> <td><code>android.hardware.touchscreen</code></td> <td>The application uses touchscreen capabilities on the device.</td> <td></td> </tr> <tr> <td><code>android.hardware.touchscreen.multitouch</code></td> - <td>The application uses basic two-point multitouch capabilities on the device + <td>Subfeature. The application uses basic two-point multitouch capabilities on the device screen.</td> <td>If declared with the <code>"android:required="true"</code> attribute, this subfeature implicitly declares the <code>android.hardware.touchscreen</code> @@ -640,10 +682,16 @@ parent feature. </td> <td>Subfeature. The application uses advanced multipoint multitouch capabilities on the device screen, such as for tracking two or more points fully independently.</td> - <td>If declared with the <code>"android:required="true"</code> attribute, this + <td rowspan="2">If declared with the <code>"android:required="true"</code> attribute, this subfeature implicitly declares the <code>android.hardware.touchscreen.multitouch</code> parent feature. </td> </tr> +<tr> + <td><code>android.hardware.touchscreen.multitouch.jazzhand</code></td> + <td>Subfeature. The application uses advanced multipoint multitouch +capabilities on the device screen, for tracking up to five points fully +independently.</td> +</tr> <tr> <td>Wifi</td> diff --git a/docs/html/images/sdk_manager_packages.png b/docs/html/images/sdk_manager_packages.png Binary files differindex 463be8f..027cce7 100755 --- a/docs/html/images/sdk_manager_packages.png +++ b/docs/html/images/sdk_manager_packages.png diff --git a/docs/html/resources/resources_toc.cs b/docs/html/resources/resources_toc.cs index 117ecfb..ed23c7c 100644 --- a/docs/html/resources/resources_toc.cs +++ b/docs/html/resources/resources_toc.cs @@ -227,6 +227,9 @@ <li><a href="<?cs var:toroot ?>resources/samples/MultiResolution/index.html"> <span class="en">Multiple Resolutions</span> </a></li> + <li><a href="<?cs var:toroot ?>resources/samples/NFCDemo/index.html"> + <span class="en">NFCDemo</span> + </a> <span class="new">new!</span></li> <li><a href="<?cs var:toroot ?>resources/samples/NotePad/index.html"> <span class="en">Note Pad</span> </a></li> diff --git a/docs/html/resources/samples/images/NfcDemo.png b/docs/html/resources/samples/images/NfcDemo.png Binary files differnew file mode 100644 index 0000000..c175d12 --- /dev/null +++ b/docs/html/resources/samples/images/NfcDemo.png diff --git a/docs/html/resources/samples/index.jd b/docs/html/resources/samples/index.jd index cbe6ca3..5749728 100644 --- a/docs/html/resources/samples/index.jd +++ b/docs/html/resources/samples/index.jd @@ -58,6 +58,9 @@ href="{@docRoot}resources/samples/get.html">Getting the Samples</a>.</p> <dd>A sample application that shows how to use resource directory qualifiers to provide different resources for different screen configurations.</dd> + <dt><a href="NFCDemo/index.html">NFCDemo</a></dt> + <dd>An application for reading NFC Forum Type 2 Tags using platform NFC apis.</a>.</dd> + <dt><a href="NotePad/index.html">Note Pad</a></dt> <dd>An application for saving notes. Similar (but not identical) to the <a href="{@docRoot}resources/tutorials/notepad/index.html">Notepad tutorial</a>.</dd> diff --git a/docs/html/sdk/adding-components.jd b/docs/html/sdk/adding-components.jd index 05be0d6..d2e55d8 100644 --- a/docs/html/sdk/adding-components.jd +++ b/docs/html/sdk/adding-components.jd @@ -98,20 +98,20 @@ complete.</p> This will reveal all of the components that are currently available for download from the SDK repository.</li> <li>Select the component(s) you'd like to install and click <strong>Install - Selected</strong>. If you aren't sure which packages to select, read <a - href="installing.html#which">Recommended Components</a>.</li> - <li>Verify and accept the components you want and click <strong>Install - Accepted</strong>. The components will now be installed into your existing - Android SDK directories.</li> + Selected</strong>. (If you aren't sure which packages to select, read <a + href="installing.html#which">Recommended Components</a>.)</li> + <li>Verify and accept the components you want (ensure each one is selected with a green +checkmark) and click <strong>Install</strong>. The components will now be installed into +your existing Android SDK directories.</li> </ol> <p>New platforms are automatically saved into the -<code><<em>sdk</em>>/platforms/</code> directory of your SDK; -new add-ons are saved in the <code><<em>sdk</em>>/add-ons/</code> +<code><sdk>/platforms/</code> directory of your SDK; +new add-ons are saved in the <code><sdk>/add-ons/</code> directory; samples are saved in the -<code><<em>sdk</em>>/samples/android-<<em>level</em>>/</code>; +<code><sdk>/samples/android-<level>/</code>; and new documentation is saved in the existing -<code><<em>sdk</em>>/docs/</code> directory (old docs are replaced).</p> +<code><sdk>/docs/</code> directory (old docs are replaced).</p> <h2 id="UpdatingComponents">Updating SDK Components</h2> @@ -150,27 +150,32 @@ the "Downloadable SDK Components" section at left.</p> <p>For example, there may be a dependency between the ADT Plugin for Eclipse and the SDK Tools component. When you install the SDK Tools -component, you would then need to upgrade to the required version of ADT (if you -are developing in Eclipse). In this case, you would find dependencies listed in -"Revisions" section of the <a href="{@docRoot}sdk/eclipse-adt.html#notes">ADT -Plugin Notes</a> and <a href="{@docRoot}sdk/tools-notes.html#notes">SDK Tools -Notes</a> documents. </p> +component, you should also upgrade to the required version of ADT (if you +are developing in Eclipse). In this case, the major version number for your ADT plugin should +always match the revision number of your SDK Tools (for example, ADT 8.x requires SDK Tools r8). +</p> -<p>Additionally, the development tools will notify you with debug warnings -if there is dependency that you need to address. </p> +<p>Also make sure that, each time you install a new version of the Android platform, you have +the latest version of the SDK Platform-tools component. The SDK Platform-tools contain +tools that are backward compatible with all versions of the Android platform and are +often updated to support new features in the latest version of the Android platform.</p> + +<p>The development tools will notify you with debug warnings if there is dependency that you need to +address. The SDK and AVD Manager also enforces dependencies by requiring that you download any +components that are needed by those you have selected.</p> <h2 id="AddingSites">Adding New Sites</h2> -<p>By default, <strong>Available Packages</strong> only shows the default -repository site, which offers platforms, SDK tools, documentation, the -Google APIs Add-on, and other components. You can add other sites that host +<p>By default, <strong>Available Packages</strong> displays components available from the +<em>Android Repository</em> and <em>Third party Add-ons</em>. You can add other sites that host their own Android SDK add-ons, then download the SDK add-ons from those sites.</p> <p>For example, a mobile carrier or device manufacturer might offer additional API libraries that are supported by their own Android-powered devices. In order -to develop using their libraries, you must install their Android SDK add-on. </p> +to develop using their libraries, you must install their Android SDK add-on, if it's not already +available under <em>Third party Add-ons</em>. </p> <p>If a carrier or device manufacturer has hosted an SDK add-on repository file on their web site, follow these steps to add their site to the SDK and AVD @@ -178,11 +183,12 @@ Manager:</p> <ol> <li>Select <strong>Available Packages</strong> in the left panel.</li> - <li>Click <strong>Add Site</strong> and enter the URL of the + <li>Click <strong>Add Add-on Site</strong> and enter the URL of the {@code repository.xml} file. Click <strong>OK</strong>.</li> </ol> -<p>Any SDK components available from the site will now be listed under -<strong>Available Packages</strong>.</p> +<p>Any SDK components available from the site will now be listed under a new item named +<strong>User Add-ons</strong>.</p> + <h2 id="troubleshooting">Troubleshooting</h2> diff --git a/docs/html/sdk/index.jd b/docs/html/sdk/index.jd index 3dda5ee..8b77303 100644 --- a/docs/html/sdk/index.jd +++ b/docs/html/sdk/index.jd @@ -23,7 +23,8 @@ sdk.linux_checksum=TODO <ol> <li>Prepare your development computer and ensure it meets the system requirements.</li> - <li>Install the SDK starter package from the table above.</li> + <li>Install the SDK starter package from the table above. (If you're on Windows, download the +installer for help with the initial setup.)</li> <li>Install the ADT Plugin for Eclipse (if you'll be developing in Eclipse).</li> <li>Add Android platforms and other components to your SDK.</li> <li>Explore the contents of the Android SDK (optional).</li> diff --git a/docs/html/sdk/installing.jd b/docs/html/sdk/installing.jd index 2f19181..4cb1bb2 100644 --- a/docs/html/sdk/installing.jd +++ b/docs/html/sdk/installing.jd @@ -56,6 +56,7 @@ function toggleDiv(link) { <li><a href="#InstallingADT">3. Installing the ADT Plugin for Eclipse</a></li> <li><a href="#components">4. Adding Platforms and Other Components</a> <ol> + <li><a href="#components">Available Components</a></li> <li><a href="#which">Recommended Components</a></li> </ol></li> <li><a href="#sdkContents">5. Exploring the SDK (Optional)</a></li> @@ -119,52 +120,14 @@ href="{@docRoot}sdk/index.html">SDK download page</a>.</p> it to a safe location on your machine. By default, the SDK files are unpacked into a directory named <code>android-sdk-<machine-platform></code>.</p> -<p>Make a note of the name and -location of the unpacked SDK directory on your system—you will need to +<p>If you downloaded the Windows installer ({@code .exe} file), run it now and it will check +whether the proper Java SE Development Kit (JDK) is installed (installing it, if necessary), then +install the SDK Tools into a default location (which you can modify).</p> + +<p>Make a note of the name and location of the SDK directory on your system—you will need to refer to the SDK directory later, when setting up the ADT plugin and when using the SDK tools from command line.</p> -<p>Optionally, you might want to add the location of the SDK's -<code>tools/</code> directory and {@code platform-tools/} directory to your system -<code>PATH</code>. Both tool directories are located at the root of the SDK folder. - - -<div class="toggleable closed"> - <a href="#" onclick="return toggleDiv(this)"> - <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" -width="9px" /> - How to update your PATH</a> - <div class="toggleme"> - -<p>Adding -<code>tools/</code> and {@code platform-tools/} to your path lets you run Android Debug Bridge (adb) -and the other command line <a -href="{@docRoot}guide/developing/tools/index.html">tools</a> without needing to -supply the full path to the tool directories. </p> - -<ul> - <li>On Linux, edit your <code>~/.bash_profile</code> or <code>~/.bashrc</code> file. Look - for a line that sets the PATH environment variable and add the - full path to the <code>tools/</code> and {@code platform-tools/} directories to it. If you don't - see a line setting the path, you can add one: - - <pre>export PATH=${PATH}:<your_sdk_dir>/tools:<your_sdk_dir>/platform-tools</pre> - </li> - - <li>On a Mac OS X, look in your home directory for <code>.bash_profile</code> and - proceed as for Linux. You can create the <code>.bash_profile</code> if - you haven't already set one up on your machine. </li> - - <li>On Windows, right-click on My Computer, and select Properties. - Under the Advanced tab, hit the Environment Variables button, and in the - dialog that comes up, double-click on Path (under System Variables). Add the full path to the - <code>tools/</code> and {@code platform-tools/} directories to the path. </li> - </ul> - -</div><!-- end toggleme --> -</div><!-- end toggleable --> - - <h2 id="InstallingADT">Step 3. Installing the ADT Plugin for Eclipse</h2> @@ -204,28 +167,40 @@ application, you also need to download at least one Android platform and the SDK (tools that the latest platform depend upon). However, downloading additional components is highly recommended.</p> +<p>If you used the Windows installer, when you complete the installation wizard, it will launch the +Android SDK and AVD Manager with a default set of platforms and other components selected +for you to install. Simply click <strong>Install</strong> to accept the recommended set of +components and install them. You can then skip to <a href="#sdkContents">Step 5</a>, but we +recommend you first read the section about the <a href="#components">Available Components</a> to +better understand the components available from the Android SDK and AVD Manager.</p> + <p>You can launch the Android SDK and AVD Manager in one of the following ways:</p> <ul> <li>From within Eclipse, select <strong>Window > Android SDK and AVD Manager</strong>.</li> <li>On Windows, double-click the <code>SDK Manager.ext</code> file at the root of the Android SDK directory.</li> <li>On Mac or Linux, open a terminal and navigate to the <code>tools/</code> directory in the -Android SDK, then execute: <pre>android update sdk</pre> <p>This will automatically select -the required and recommended components for you to install.</p></li> +Android SDK, then execute: <pre>android</pre> </li> </ul> <p>To download components, use the graphical UI of the Android SDK and AVD Manager, shown in Figure 1, to browse the SDK repository and select new or updated components. The Android SDK and AVD Manager will install the selected components in your SDK environment. For information about which components you should download, see the following -section about <a href="#which">Recommended Components</a></p> +section about <a href="#which">Recommended Components</a>.</p> <img src="/images/sdk_manager_packages.png" /> <p class="img-caption"><strong>Figure 1.</strong> The Android SDK and AVD Manager's <strong>Available Packages</strong> panel, which shows the SDK components that are available for you to download into your environment.</p> -<p>The SDK repository offers these types of components:</p> + +<h3 id="components">Available Components</h3> + +<p>By default, there are two repositories of components for your SDK: <em>Android +Repository</em> and <em>Third party Add-ons</em>.</p> + +<p>The <em>Android Repository</em> offers these types of components:</p> <ul> <li><strong>SDK Tools</strong> (pre-installed in the Android SDK starter @@ -249,20 +224,14 @@ system image, sample code, emulator skins, and any version specific tools. For detailed information about each platform, see the overview documents available under the section "Downloadable SDK Components," at left. </li> -<li><strong>SDK Add-Ons</strong> — SDK add-ons provide a development -environment for specific Android external -library or a customized (but fully compliant) Android system image. The Android -SDK repository offers the Google APIs Add-On, which gives your application -access to powerful mapping capabilities through the -<code>com.google.android.maps</code> library. You can also add additional -repositories, so that you can download other SDK add-ons, where available. </li> - -<li><strong>USB Driver for Windows</strong> — Contains driver files +<li><strong>USB Driver for Windows</strong> (Windows only) — Contains driver files that you can install on your Windows computer, so that you can run and debug your applications on an actual device. You <em>do not</em> need the USB driver unless you plan to debug your application on an actual Android-powered device. If you develop on Mac OS X or Linux, you do not need a special driver to debug -your application on an Android-powered device.</li> +your application on an Android-powered device. (See <a +href="{@docRoot}guide/developing/device.html">Developing on a Device</a> for more information +about developing on a real device.)</li> <li><strong>Samples</strong> — Contains the sample code and apps available for each Android development platform. If you are just getting started with @@ -275,6 +244,11 @@ tutorials. --></li> multiversion documentation for the Android framework API. </li> </ul> +<p>The <em>Third party Add-ons</em> provide components that allow you to create a development +environment using a specific Android external library (such as the Google Maps library) or a +customized (but fully compliant) Android system image. You can add additional Add-on repositories, +by clicking <strong>Add Add-on Site</strong>.</p> + <h3 id="which">Recommended Components</h3> @@ -496,6 +470,47 @@ documentation.</td> </table> + +<p>Optionally, you might want to add the location of the SDK's <code>tools/</code> and +<code>platform-tools</code> to your <code>PATH</code> environment variable, to provide easy +access to the tools.</p> + + +<div class="toggleable closed"> + <a href="#" onclick="return toggleDiv(this)"> + <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" +width="9px" /> + How to update your PATH</a> + <div class="toggleme"> + +<p>Adding both <code>tools/</code> and <code>platform-tools/</code> to your PATH lets you run +command line <a href="{@docRoot}guide/developing/tools/index.html">tools</a> without needing to +supply the full path to the tool directories. Depending on your operating system, you can +include these directories in your PATH in the following way:</p> + +<ul> + + <li>On Windows, right-click on My Computer, and select Properties. + Under the Advanced tab, hit the Environment Variables button, and in the + dialog that comes up, double-click on Path (under System Variables). Add the full path to the + <code>tools/</code> and <code>platform-tools/</code> directories to the path. </li> + + <li>On Linux, edit your <code>~/.bash_profile</code> or <code>~/.bashrc</code> file. Look + for a line that sets the PATH environment variable and add the + full path to the <code>tools/</code> and <code>platform-tools</code> directories to it. If you + don't see a line setting the path, you can add one: + <pre>export PATH=${PATH}:<sdk>/tools:<sdk>/platform-tools</pre> + </li> + + <li>On a Mac OS X, look in your home directory for <code>.bash_profile</code> and + proceed as for Linux. You can create the <code>.bash_profile</code> if + you don't already have one. </li> +</ul> + +</div><!-- end toggleme --> +</div><!-- end toggleable --> + + <h2 id="NextSteps">Next Steps</h2> <p>Once you have completed installation, you are ready to begin developing applications. Here are a few ways you can get started: </p> |