Merge commit '21cbd52b7acb8f3fbcbd256a62f27f1476e9c89e' into eclair-mr2-plus-aosp * commit '21cbd52b7acb8f3fbcbd256a62f27f1476e9c89e': doc change: misc doc fixes.
This commit is contained in:
@@ -330,8 +330,8 @@ import java.util.List;
|
|||||||
* you'll need to update your searchable activity (or other activities) to receive the intents
|
* you'll need to update your searchable activity (or other activities) to receive the intents
|
||||||
* as you've defined them.</li>
|
* as you've defined them.</li>
|
||||||
* <li>Implement a Content Provider that provides suggestions. If you already have one, and it
|
* <li>Implement a Content Provider that provides suggestions. If you already have one, and it
|
||||||
* has access to your suggestions data. If not, you'll have to create one.
|
* has access to your suggestions data, you can use that provider. If not, you'll have to create
|
||||||
* You'll also provide information about your Content Provider in your
|
* one. You'll also provide information about your Content Provider in your
|
||||||
* package's <a href="{@docRoot}guide/topics/manifest/manifest-intro.html">manifest</a>.</li>
|
* package's <a href="{@docRoot}guide/topics/manifest/manifest-intro.html">manifest</a>.</li>
|
||||||
* <li>Update your searchable activity's XML configuration file. There are two categories of
|
* <li>Update your searchable activity's XML configuration file. There are two categories of
|
||||||
* information used for suggestions:
|
* information used for suggestions:
|
||||||
@@ -1181,7 +1181,7 @@ import java.util.List;
|
|||||||
* Bundle appData = new Bundle();
|
* Bundle appData = new Bundle();
|
||||||
* appData.put...();
|
* appData.put...();
|
||||||
* appData.put...();
|
* appData.put...();
|
||||||
* startSearch(null, false, appData);
|
* startSearch(null, false, appData, false);
|
||||||
* return true;
|
* return true;
|
||||||
* }</pre>
|
* }</pre>
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -34,13 +34,13 @@ package android.util;
|
|||||||
* <p>This interface provides an efficient mechanism for retrieving
|
* <p>This interface provides an efficient mechanism for retrieving
|
||||||
* data from compiled XML files, which can be retrieved for a particular
|
* data from compiled XML files, which can be retrieved for a particular
|
||||||
* XmlPullParser through {@link Xml#asAttributeSet
|
* XmlPullParser through {@link Xml#asAttributeSet
|
||||||
* Xml.getAttributeSet()}. Normally this will return an implementation
|
* Xml.asAttributeSet()}. Normally this will return an implementation
|
||||||
* of the interface that works on top of a generic XmlPullParser, however it
|
* of the interface that works on top of a generic XmlPullParser, however it
|
||||||
* is more useful in conjunction with compiled XML resources:
|
* is more useful in conjunction with compiled XML resources:
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* XmlPullParser parser = resources.getXml(myResouce);
|
* XmlPullParser parser = resources.getXml(myResouce);
|
||||||
* AttributeSet attributes = Xml.getAttributeSet(parser);</pre>
|
* AttributeSet attributes = Xml.asAttributeSet(parser);</pre>
|
||||||
*
|
*
|
||||||
* <p>The implementation returned here, unlike using
|
* <p>The implementation returned here, unlike using
|
||||||
* the implementation on top of a generic XmlPullParser,
|
* the implementation on top of a generic XmlPullParser,
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ public class DisplayMetrics {
|
|||||||
* Density Independent Pixel unit, where one DIP is one pixel on an
|
* Density Independent Pixel unit, where one DIP is one pixel on an
|
||||||
* approximately 160 dpi screen (for example a 240x320, 1.5"x2" screen),
|
* approximately 160 dpi screen (for example a 240x320, 1.5"x2" screen),
|
||||||
* providing the baseline of the system's display. Thus on a 160dpi screen
|
* providing the baseline of the system's display. Thus on a 160dpi screen
|
||||||
* this density value will be 1; on a 106 dpi screen it would be .75; etc.
|
* this density value will be 1; on a 120 dpi screen it would be .75; etc.
|
||||||
*
|
*
|
||||||
* <p>This value does not exactly follow the real screen size (as given by
|
* <p>This value does not exactly follow the real screen size (as given by
|
||||||
* {@link #xdpi} and {@link #ydpi}, but rather is used to scale the size of
|
* {@link #xdpi} and {@link #ydpi}, but rather is used to scale the size of
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ page.title=Android API Levels
|
|||||||
</ol>
|
</ol>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#provisional">Using a Provisional API Level</a></li>
|
<li><a href="#provisional">Using a Provisional API Level</a></li>
|
||||||
<li><a href="#filtering">Filtering the Reference Documentation by API Level</a></li>
|
<li><a href="#filtering">Filtering the Documentation</a></li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<h2>See also</h2>
|
<h2>See also</h2>
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ responsive to input and thus avoid ANR dialogs caused by the 5 second input
|
|||||||
event timeout. These same practices should be followed for any other threads
|
event timeout. These same practices should be followed for any other threads
|
||||||
that display UI, as they are also subject to the same timeouts.</p>
|
that display UI, as they are also subject to the same timeouts.</p>
|
||||||
|
|
||||||
<p>The specific constraint on IntentReciever execution time emphasizes what
|
<p>The specific constraint on IntentReceiver execution time emphasizes what
|
||||||
they were meant to do: small, discrete amounts of work in the background such
|
they were meant to do: small, discrete amounts of work in the background such
|
||||||
as saving a setting or registering a Notification. So as with other methods
|
as saving a setting or registering a Notification. So as with other methods
|
||||||
called in the main thread, applications should avoid potentially long-running
|
called in the main thread, applications should avoid potentially long-running
|
||||||
|
|||||||
@@ -847,118 +847,118 @@ icons in your applications.</code>.
|
|||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_alarmclock.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_alarmclock.png" alt="Android asset" />
|
||||||
<div class="caption">Alarm Clock</div></td>
|
<div class="caption">Alarm Clock</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_browser.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_browser.png" alt="Android asset" />
|
||||||
<div class="caption">Browser</div></td>
|
<div class="caption">Browser</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_calculator.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_calculator.png" alt="Android asset" />
|
||||||
<div class="caption">Calculator</div></td>
|
<div class="caption">Calculator</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_calendar.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_calendar.png" alt="Android asset" />
|
||||||
<div class="caption">Calendar</div></td>
|
<div class="caption">Calendar</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_video_camera.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_video_camera.png" alt="Android asset" />
|
||||||
<div class="caption">Camcorder</div></td>
|
<div class="caption">Camcorder</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_camera.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_camera.png" alt="Android asset" />
|
||||||
<div class="caption">Camera</div></td>
|
<div class="caption">Camera</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_contacts.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_contacts.png" alt="Android asset" />
|
||||||
<div class="caption">Contacts</div></td>
|
<div class="caption">Contacts</div></td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_phone_dialer.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_phone_dialer.png" alt="Android asset" />
|
||||||
<div class="caption">Dialer</div></td>
|
<div class="caption">Dialer</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_email_generic.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_email_generic.png" alt="Android asset" />
|
||||||
<div class="caption">Email</div></td>
|
<div class="caption">Email</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_gallery.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_gallery.png" alt="Android asset" />
|
||||||
<div class="caption">Gallery</div></td>
|
<div class="caption">Gallery</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_generic_application.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_generic_application.png" alt="Android asset" />
|
||||||
<div class="caption">Generic application</div></td>
|
<div class="caption">Generic application</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_email.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_email.png" alt="Android asset" />
|
||||||
<div class="caption">Gmail</div></td>
|
<div class="caption">Gmail</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_google_talk.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_google_talk.png" alt="Android asset" />
|
||||||
<div class="caption">Google Talk</div></td>
|
<div class="caption">Google Talk</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_IM.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_IM.png" alt="Android asset" />
|
||||||
<div class="caption">IM</div></td>
|
<div class="caption">IM</div></td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_maps.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_maps.png" alt="Android asset" />
|
||||||
<div class="caption">Maps</div></td>
|
<div class="caption">Maps</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_marketplace.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_marketplace.png" alt="Android asset" />
|
||||||
<div class="caption">Market </div></td>
|
<div class="caption">Market </div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_sms_mms.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_sms_mms.png" alt="Android asset" />
|
||||||
<div class="caption">Messaging </div></td>
|
<div class="caption">Messaging </div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_musicplayer_2.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_musicplayer_2.png" alt="Android asset" />
|
||||||
<div class="caption">Music</div></td>
|
<div class="caption">Music</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_settings.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_settings.png" alt="Android asset" />
|
||||||
<div class="caption">Settings</div></td>
|
<div class="caption">Settings</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_voicedial.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_voicedial.png" alt="Android asset" />
|
||||||
<div class="caption">Voice Dialer</div></td>
|
<div class="caption">Voice Dialer</div></td>
|
||||||
|
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_voicesearch.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_voicesearch.png" alt="Android asset" />
|
||||||
<div class="caption">Voice Search</div></td>
|
<div class="caption">Voice Search</div></td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td class="image-caption-i image-list">
|
<td class="image-caption-i image-list">
|
||||||
<img src="/images/icon_design/ic_launcher_youtube.png" alt="Android asset" />
|
<img src="{@docRoot}images/icon_design/ic_launcher_youtube.png" alt="Android asset" />
|
||||||
<div class="caption">YouTube</div></td>
|
<div class="caption">YouTube</div></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -165,4 +165,4 @@ maximum API Level. </p>
|
|||||||
<p>For more information, see the <a
|
<p>For more information, see the <a
|
||||||
href="{@docRoot}guide/developing/manifest/uses-sdk-element.html"><code><uses-
|
href="{@docRoot}guide/developing/manifest/uses-sdk-element.html"><code><uses-
|
||||||
sdk></code></a> manifest element documentation and the <a
|
sdk></code></a> manifest element documentation and the <a
|
||||||
href="{@docRoot}guide/appendix/api-levels.htmll">API Levels</a> document.</p>
|
href="{@docRoot}guide/appendix/api-levels.html">API Levels</a> document.</p>
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ uninstall procedure and continue to <a href="#installAdt">Install the 0.9 ADT pl
|
|||||||
|
|
||||||
<p>If you encounter problems, ensure your ADT is fully uninstalled and then
|
<p>If you encounter problems, ensure your ADT is fully uninstalled and then
|
||||||
follow the guide to
|
follow the guide to
|
||||||
<a href="installingplugin">Installing the ADT Plugin
|
<a href="installing.html#installingplugin">Installing the ADT Plugin
|
||||||
for Eclipse</a>.</p>
|
for Eclipse</a>.</p>
|
||||||
|
|
||||||
<h3 id="updateEclipsePrefs">Update your Eclipse SDK Preferences</h3>
|
<h3 id="updateEclipsePrefs">Update your Eclipse SDK Preferences</h3>
|
||||||
|
|||||||
@@ -360,7 +360,7 @@ begin developing applications. Here are a few ways you can get started: </p>
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
<h2 id="troubleshooting">Installation Troubleshooting</h2>
|
<h2 id="troubleshooting">Troubleshooting</h2>
|
||||||
|
|
||||||
<h3>Ubuntu Linux Notes</h3>
|
<h3>Ubuntu Linux Notes</h3>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user