* commit '28a828fa198122a13d053eae2e46f18487818e91': remove samples page under tools. redirect in separate cl. bug: 12878293
This commit is contained in:
@ -1,32 +0,0 @@
|
||||
page.title=Samples
|
||||
page.tags="example","code"
|
||||
@jd:body
|
||||
|
||||
<p>To help you understand some fundamental Android APIs and coding practices, a variety of sample
|
||||
code is available from the Android SDK Manager. Each version of the Android platform available
|
||||
from the SDK Manager offers its own set of sample apps.</p>
|
||||
|
||||
<p>To download the samples:</p>
|
||||
<ol>
|
||||
<li>Launch the Android SDK Manager.
|
||||
<ul>
|
||||
<li>On Windows, double-click the SDK Manager.exe file at the root of the Android SDK
|
||||
directory.</li>
|
||||
<li>On Mac or Linux, open a terminal to the {@code tools/} directory in the
|
||||
Android SDK, then execute {@code android sdk}.</ul>
|
||||
</li>
|
||||
<li>Expand the list of packages for the latest Android platform.</li>
|
||||
<li>Select and download <em>Samples for SDK</em>.</li>
|
||||
</ol>
|
||||
|
||||
<p>When the download is complete, you can find the source code for all samples at this location:</p>
|
||||
|
||||
<p style="margin-left:2em">
|
||||
<code><sdk>/samples/android-<version>/</code>
|
||||
</p>
|
||||
|
||||
<p>The {@code <version>} number corresponds to the platform's
|
||||
<a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#ApiLevels">API level</a>.</p>
|
||||
|
||||
<p>You can easily create new Android projects with the downloaded samples, modify them
|
||||
if you'd like, and then run them on an emulator or device.</p>
|
@ -239,12 +239,6 @@ class="en">Platforms</span></a></li>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="nav-section">
|
||||
<div class="nav-section-header empty"><a href="<?cs var:toroot
|
||||
?>tools/samples/index.html"><span class="en">Samples</span></a></div>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="nav-section">
|
||||
<div class="nav-section-header">
|
||||
<a href="<?cs var:toroot ?>tools/adk/index.html">
|
||||
|
Reference in New Issue
Block a user