summaryrefslogtreecommitdiffstats
path: root/docs/html/guide
diff options
context:
space:
mode:
authorDirk Dougherty <nobody@android.com>2009-05-01 13:06:10 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-05-01 13:06:10 -0700
commit9352bfa0397ebcb00926260f804dcb4f4494ae30 (patch)
treeb124325a1e0d6901172bd93a8703faec8ed29c66 /docs/html/guide
parente90c0da675a945a86ac06098c1f5694ddc4efb23 (diff)
parent4f508936342dd866d1183ca418ca091437a5ddf6 (diff)
downloadframeworks_base-9352bfa0397ebcb00926260f804dcb4f4494ae30.zip
frameworks_base-9352bfa0397ebcb00926260f804dcb4f4494ae30.tar.gz
frameworks_base-9352bfa0397ebcb00926260f804dcb4f4494ae30.tar.bz2
am 4f50893: am 392d29a: AI 148193: More misc fixes in format, links, con
Merge commit '4f508936342dd866d1183ca418ca091437a5ddf6' * commit '4f508936342dd866d1183ca418ca091437a5ddf6': AI 148193: More misc fixes in format, links, content for Android 1.5 SDK docs.
Diffstat (limited to 'docs/html/guide')
-rw-r--r--docs/html/guide/developing/tools/traceview.jd45
-rw-r--r--docs/html/guide/samples/index.jd8
-rw-r--r--docs/html/guide/topics/location/index.jd11
-rw-r--r--docs/html/guide/tutorials/views/hello-mapview.jd2
4 files changed, 38 insertions, 28 deletions
diff --git a/docs/html/guide/developing/tools/traceview.jd b/docs/html/guide/developing/tools/traceview.jd
index dd3f4bb..95ae823 100644
--- a/docs/html/guide/developing/tools/traceview.jd
+++ b/docs/html/guide/developing/tools/traceview.jd
@@ -1,23 +1,32 @@
page.title=Traceview: A Graphical Log Viewer
@jd:body
-<p>Traceview is a graphical viewer for execution logs
-saved by your application. The sections below describe how to use the program. </p>
+<div id="qv-wrapper">
+<div id="qv">
-<h2>Contents</h2>
+ <h2>In this document</h2>
+<ol>
+ <li><a href="#creatingtracefiles">Creating Trace Files</a></li>
+ <li><a href="#copyingfiles">Copying Trace Files to a Host Machine</a></li>
+ <li><a href="#runningtraceview">Viewing Trace Files in Traceview</a>
+ <ol>
+ <li><a href="#timelinepanel">Timeline Panel</a></li>
+ <li><a href="#profilepanel">Profile Panel</a></li>
+ </ol></li>
+ <li><a href="#format">Traceview File Format</a>
+ <ol>
+ <li><a href="#datafileformat">Data File Format</a></li>
+ <li><a href="#keyfileformat">Key File Format</a></li>
+ </ol></li>
+ <li><a href="#knownissues">Traceview Known Issues</a></li>
+ <li><a href="#dmtracedump">Using dmtracedump</a></li>
+</ol>
+</div>
+</div>
-<dl>
- <dt><a href="#creatingtracefiles">Creating Trace Files</a></dt>
- <dt><a href="#copyingfiles">Copying Trace Files to a Host Machine</a></dt>
- <dt><a href="#runningtraceview">Viewing Trace Files in Traceview</a></dt>
- <dd><a href="#timelinepanel">Timeline Panel</a></dd>
- <dd><a href="#profilepanel">Profile Panel</a></dd>
- <dt><a href="#format">Traceview File Format</a></dd>
- <dd><a href="#datafileformat">Data File Format</a><dd>
- <dd><a href="#keyfileformat">Key File Format</a></dd>
- <dt><a href="#knownissues">Traceview Known Issues</a></dd>
- <dt><a href="#dmtracedump">Using dmtracedump</a></dt>
-</dl>
+<p>Traceview is a graphical viewer for execution logs
+saved by your application. Traceview can help you debug your application and
+profile its performance. The sections below describe how to use the program. </p>
<a name="creatingtracefiles"></a>
@@ -63,10 +72,10 @@ have made the code faster or slower. </p>
<p>When using the Android emulator, you must create an SD card image upon which
the trace files will be written. For example, from the <code>/tools</code> directory, you
-can create an SD card image and mount it when launching the emulator like so:</p>
+can create an SD card image named "imgcd" and mount it when launching the emulator like so:</p>
<pre>
-<b>$</b> mksdcard 1024M ./imgcd
-<b>$</b> emulator -sdcard ./img
+<b>$</b> mksdcard 1024M ./imgcd
+<b>$</b> emulator -sdcard ./imgcd
</pre>
<p>For more information, read about the
<a href="{@docRoot}guide/developing/tools/othertools.html#mksdcard">mksdcard tool</a>.</p>
diff --git a/docs/html/guide/samples/index.jd b/docs/html/guide/samples/index.jd
index 4e665fa..365284d 100644
--- a/docs/html/guide/samples/index.jd
+++ b/docs/html/guide/samples/index.jd
@@ -4,11 +4,13 @@ page.title=Sample Code
<p>Sometimes, the best way to learn how things are done is to just look at some code. So here
- we've provided links to let you browse the source of some some simple Android applications. </p>
+ we've provided links to let you browse the source of some sample Android applications included
+in the Android SDK. </p>
-<p>The source code for these applications is included in the Android SDK, in this location:</p>
+<p>The SDK includes a full set of sample applications for each Android platform version
+in the SDK. You can find the sample applications for each platform version in this location:</p>
-<p style="margin-left:2em"><code>&lt;sdk&gt;/samples/</code></p>
+<p style="margin-left:2em"><code>&lt;sdk&gt;/platforms/android-&lt;version&gt;/samples/</code></p>
<p>You can easily add these applications as projects in your development environment, so that you
can modify them and watch them execute. </p>
diff --git a/docs/html/guide/topics/location/index.jd b/docs/html/guide/topics/location/index.jd
index d7a8ff2..e988ecb 100644
--- a/docs/html/guide/topics/location/index.jd
+++ b/docs/html/guide/topics/location/index.jd
@@ -116,12 +116,11 @@ that lets your application manipulate Google Maps data through class methods,
and it lets you work with Maps data as you would other types of Views.</p>
<p>The Maps external library is not part of the standard Android library, so it
-may not be present on some compliant Android-powered devices (although it is
-likely to be present on most devices). Similarly, the Maps external library is
-not included in the standard Android library provided in the SDK. So that you
-can develop using the classes of the com.google.android.maps package, the Maps
-external library is made available to you as part of the Google APIs add-on for
-the Android SDK. </p>
+may not be present on some compliant Android-powered devices. Similarly, the
+Maps external library is not included in the standard Android library provided
+in the SDK. So that you can develop using the classes of the
+com.google.android.maps package, the Maps external library is made available to
+you as part of the Google APIs add-on for the Android SDK. </p>
<p>To learn more about the Maps external library and how to download and use the
Google APIs add-on, visit</p>
diff --git a/docs/html/guide/tutorials/views/hello-mapview.jd b/docs/html/guide/tutorials/views/hello-mapview.jd
index 30b92c4..868bfaa 100644
--- a/docs/html/guide/tutorials/views/hello-mapview.jd
+++ b/docs/html/guide/tutorials/views/hello-mapview.jd
@@ -75,7 +75,7 @@ First, we'll create a simple Activity that can view and navigate a map. Then we
certificate has been registered with the Google Maps service. Because MapView uses Google Maps data, this key is required
in order to receive the map data, even while you are developing. Registration is free and it only takes a couple
minutes to register your certificate and receive a Maps API Key. For instructions on getting a key, read
- <a href="{@docRoot}guide/topics/location/geo/mapkey.html">Obtaining a Maps API Key</a>.
+ <a href="http://code.google.com/android/add-ons/google-apis/mapkey.html">Obtaining a Maps API Key</a>.
(For the purpose of this tutorial, you should register with the fingerprint of the SDK debug certificate.)
Once you've acquired the Maps API Key, insert it for the <code>apiKey</code> value.</p></li>