diff options
| author | Robert Ly <robertly@google.com> | 2014-06-15 13:04:43 -0700 |
|---|---|---|
| committer | Robert Ly <robertly@google.com> | 2014-06-15 14:49:02 -0700 |
| commit | b8cabe9ae0b848ace8f6b20a9ecbf6c78a7643cb (patch) | |
| tree | f9ffd4ede13e043b5ef9cddf2485c3d76f915b80 /docs/html/preview | |
| parent | a4071291dd29d3efdf6340a7777f4542996cfc3c (diff) | |
| download | frameworks_base-b8cabe9ae0b848ace8f6b20a9ecbf6c78a7643cb.zip frameworks_base-b8cabe9ae0b848ace8f6b20a9ecbf6c78a7643cb.tar.gz frameworks_base-b8cabe9ae0b848ace8f6b20a9ecbf6c78a7643cb.tar.bz2 | |
fix the index page
Change-Id: I84461a7ace1c6bde8e99534096cc9e485cecb4c4
Diffstat (limited to 'docs/html/preview')
| -rw-r--r-- | docs/html/preview/index.jd | 3 | ||||
| -rw-r--r-- | docs/html/preview/material/index.jd | 4 | ||||
| -rw-r--r-- | docs/html/preview/setup-devices.jd | 89 | ||||
| -rw-r--r-- | docs/html/preview/setup-sdk.jd | 30 |
4 files changed, 73 insertions, 53 deletions
diff --git a/docs/html/preview/index.jd b/docs/html/preview/index.jd index 3b5a4f8..84a2d85 100644 --- a/docs/html/preview/index.jd +++ b/docs/html/preview/index.jd @@ -1,7 +1,8 @@ -heropage.title=Android L Developer Preview +page.title=Android L Developer Preview page.viewport_width=970 fullpage=true no_footer_links=true +page.type=about @jd:body diff --git a/docs/html/preview/material/index.jd b/docs/html/preview/material/index.jd index e54ba08..468e4bd 100644 --- a/docs/html/preview/material/index.jd +++ b/docs/html/preview/material/index.jd @@ -1,9 +1,9 @@ page.title=Material Design +page.type=design @jd:body - -<p>The Android L Developer Preview includes support for material design apps. Material design +<p itemprop="description">The Android L Developer Preview includes support for material design apps. Material design is a comprehensive guide for visual, motion, and interaction design across platforms and devices. To use material design in your Android apps, follow the guidelines defined in the <a href="">material design specification</a> and use the new components and functionality diff --git a/docs/html/preview/setup-devices.jd b/docs/html/preview/setup-devices.jd index 9ffe9f4..0654685 100644 --- a/docs/html/preview/setup-devices.jd +++ b/docs/html/preview/setup-devices.jd @@ -1,8 +1,7 @@ page.title=Setting Up Hardware and AVDs - @jd:body -<p>The Android 5.0 developer preview provides you with 32-bit system images +<p>The Android L developer preview provides you with 32-bit system images to flash the following devices: </p> @@ -15,8 +14,9 @@ to flash the following devices: experimental 64-bit system images along with standard 32-bit system images. </p> -<h2>Flashing Devices</h2> +<h2>Installing the L Preview System Image</h2> +<!-- Will we get an official warning text from the lawyercats? Is this it? --> <p class="warning"><b>Warning</b>: This is a preview version of the Android system image, and is subject to change. Your use of this system image is governed by the Android SDK Preview License Agreement. The Android preview @@ -26,56 +26,71 @@ Android system image is not subject to the same testing as the factory OS and can cause your phone and installed services and applications to stop working. </p> -<p> -Click through Terms of Service: -https://docs.google.com/a/google.com/document/d/1OixnM1Q890ExOzDB3Z-FDD6Sb2kF4uZQiMxsYVII8F0/edit?usp=sharing +<p><!-- Will this link change before we publish (to a clean version of the doc)? + Or will we scrub the doc's comments & revision history? --> +<a href="https://docs.google.com/a/google.com/document/d/1OixnM1Q890ExOzDB3Z-FDD6Sb2kF4uZQiMxsYVII8F0/edit?usp=sharing">L +Preview Terms of Service</a> </p> -<h3>To the Developer Preview</h3> + <ol> <li>Download and extract the Android Developer Preview package to a directory - referred to as <code><extracted_images></code>.</li> - <li>Connect your powered-off Android device to your development machine and - press and hold the following buttons until your device is in fastboot mode: + (which we'll call <code><l_download_dir></code> in these + instructions).</li> + <li>Connect your powered-off Android device to your development machine. Put + the device in fastboot mode by pressing and holding the following buttons: <ul> - <li>For Nexus 5: vol down + vol up + power</li> - <li>For Nexus 7: vol down + power </li> + <li><strong>Nexus 5:</strong> <i>volume down</i> + <i>volume up</i> + + <i>power</i></li> + <li><strong>Nexus 7:</strong> <i>volume down</i> + <i>power</i> </li> </ul> - <p class="note">Alternatively, run <code>adb reboot bootloader</code> - with USB debugging turned on to enter fastboot mode. - The device must be booted up if you’re using this method.</p> + <p class="note">Alternatively, you can enter fastboot mode by booting up + the device and running <code>adb reboot bootloader</code> with USB debugging + turned on.</p> </li> <li>Follow the instructions at - <a href="https://developers.google.com/android/nexus/images">developers.google.com/android</a> + <a href="https://developers.google.com/android/nexus/images#instructions">developers.google.com/android</a> to set up your system for flashing devices.</li> - <li>Run the <code><extracted-images>/flash-all</code> script + <li>Run the <code><l_download_dir>/flash-all</code> script corresponding to your platform. This script flashes all of the system data - onto the phone.</li> - <li>(Optional) After flashing is complete, run <code>fastboot oem lock</code> - with the device in fastboot mode to lock it again. This does not wipe your - device, but if you want to flash again, you need to run <code>fastboot oem - unlock</code>, which wipes your device. We recommend you leave the + onto the phone.</li> <!-- Confirm names of flash scripts --> + <li>(Optional) After flashing is complete, lock your device's bootloader by + putting it in fastboot mode and running <code>fastboot oem lock</code>. + (This does not wipe your device.) Once you do this, you will not be able to + flash your device until you run run <code>fastboot oem unlock</code>, + which unlocks the bootloader and wipes your device. We recommend you leave the bootloader unlocked until you are done with flashing the device.</li> </ol> -<h3>To factory specifications</h3> +<h3>Reverting a Device to Factory Specifications</h3> - <p>Go to <a href="http://developers.google.com/android/nexus/images">developers.google.com/android</a> - and download the image you want to flash to for your device. - Follow the instructions there to flash the image to your device.</p> + <p>If you want to uninstall the L Preview and revert the device to factory +specifications, go to <a href="http://developers.google.com/android +/nexus/images">developers.google.com/android</a> and download the image you want +to flash to for your device. Follow the instructions on that page to flash the +image to your device.</p> <h2>Setting up an AVD</h2> -You can set up Android Virtual Devices (AVD) and use the emulator to -build and test apps with: + +<p>You can set up <a href="{@docRoot}tools/devices/">Android Virtual Devices +(AVD)</a> and use the emulator to build and test apps with the L Preview.</p> + +<p>To create an AVD with the AVD Manager:</p> <ol> - <li></li> - <li></li> - <li></li> - <li></li> - <li></li> - <li></li> - <li></li> - <li></li> -</ol>
\ No newline at end of file + <li>Install the L Preview SDK in your development environment, as described + in <a href="{@docRoot}preview/setup-sdk.html">Setting Up the Preview + SDK.</a></li> + <li>Follow the steps in + <a href="{@docRoot}tools/devices/managing-avds.html">Managing AVDs with AVD + Manager</a>. Use the following settings: + <ul> + <li><b>Device:</b> Either Nexus 5 or Nexus 7</li> + <li><b>Target:</b> <!-- Confirm exact text when we have final distro --> + Android L (Preview) - API Level L</li> + </ul> + <!-- Confirm this works when you can download image through SDK manager! --> + </li> +</ol> + diff --git a/docs/html/preview/setup-sdk.jd b/docs/html/preview/setup-sdk.jd index e0ef40d..32a33b6 100644 --- a/docs/html/preview/setup-sdk.jd +++ b/docs/html/preview/setup-sdk.jd @@ -1,32 +1,36 @@ page.title=Setting Up the Preview SDK - @jd:body -<p>The Preview SDK is available from the Android SDK Manager. This document assumes that you -are familiar with Android Development, such as using the Android SDK Manager and creating -projects. If you're new to Android, see -<a href="{@docRoot}training/basics/firstapp/index.html">Building Your First App</a> training lesson first.</a></p> +<p>The Preview SDK is available from the Android SDK Manager. <!-- Not yet! --> +This document assumes that you are familiar with Android app development, such +as using the Android SDK Manager and creating projects. If you're new to +Android, see <a href="/training/basics/firstapp/index.html">Building Your First +App</a> training lesson first.</a></p> <h2>Download the SDK</h2> <ol> <li>Start the Android SDK Manager.</li> - <li>In the <b>Tools</b> section, select the latest Android <b>SDK Tools</b>, <b>Platform-tools</b>, and <b>Build-tools</b>.</li> - <li>Select everything under the <b>Android L Developer Preview</b> section and click <b>Install packages...</b></li> - <li>Accept the Licensing Agreement for all of the packages and click <b>Install</b>.</li> + <li>In the <b>Tools</b> section, select the latest Android <b>SDK Tools</b>, + <b>Platform-tools</b>, and <b>Build-tools</b>.</li> + <!-- Android L not yet showing up in Android SDK Manager... --> + <li>Select everything under the <b>Android L Developer Preview</b> section and + click <b>Install packages...</b></li> + <li>Accept the Licensing Agreement for all of the packages and click + <b>Install</b>.</li> </ol> <h2>Set up your environment</h2> <ol> <li>Create a new Android project with the following properties: - <dl> + <ul> <li>Minimum SDK Version: L</li> <li>Target SDK Version: L</li> <li>Build Target: L</li> - </dl> + </ul> </li> - <li>Set the theme for your app to use <code>Theme.Material</code> - <li>etc</li> -</ol> + <li>Choose the theme <code>Theme.Material</code> + <!-- put in name as it appears in Eclipse menu? --> +</ol> |
