17b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Doughertypage.title=Android 2.1 Platform
2b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainsdk.platform.version=2.1
3b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainsdk.platform.apiLevel=7
4b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainsdk.platform.majorMinor=minor
5b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
6b149ee883502af8ae71757f9098c8e98c8548d25Scott Main@jd:body
7b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
8b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<div id="qv-wrapper">
9b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<div id="qv">
10b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
11b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<h2>In this document</h2>
12b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<ol>
13b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  <li><a href="#features">Platform Highlights</a></li>
147b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty  <li><a href="#relnotes">Revisions</a></li>
1544108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty  <li><a href="#api-level">API Level</a></li>
1644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty  <li><a href="#api">Framework API Changes</a>
17b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  <li><a href="#apps">Built-in Applications</a></li>
18b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  <li><a href="#locs">Locales</a></li>
19b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  <li><a href="#skins">Emulator Skins</a></li>
2044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
21b149ee883502af8ae71757f9098c8e98c8548d25Scott Main    </ol>
22b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  </li>
23b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</ol>
24b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
2544108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<h2>Reference</h2>
2644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<ol>
2744108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li><a
2844108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyhref="{@docRoot}sdk/api_diff/{@sdkPlatformApiLevel}/changes.html">API
2944108b54543c87e2c46a6d5d4339b3c4e06373deDirk DoughertyDifferences Report &raquo;</a> </li>
3044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty</ol>
3144108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
32b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<h2>See Also</h2>
33b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<ol>
3450e990c64fa23ce94efa76b9e72df7f8ec3cee6aScott Main  <li><a href="{@docRoot}sdk/exploring.html">Exploring the SDK</a></li>
35b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</ol>
36b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
37b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</div>
38b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</div>
39b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
40b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<p>
41b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<em>API Level:</em>&nbsp;<strong>{@sdkPlatformApiLevel}</strong></p>
42b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
43b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<p>Android {@sdkPlatformVersion} is a {@sdkPlatformMajorMinor} platform release
449519eab313fdb0f74a05e85cffe25b61aa76a5ddDirk Doughertydeployable to Android-powered handsets starting in January 2010.
45b149ee883502af8ae71757f9098c8e98c8548d25Scott MainThis release includes new API
46b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainchanges and bug fixes. For information on changes, see the <a href="#api">Framework API</a>
47b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainsection.</p>
48b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
49b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<p>For developers, the Android {@sdkPlatformVersion} platform is available as a
50b149ee883502af8ae71757f9098c8e98c8548d25Scott Maindownloadable component for the Android SDK. The downloadable platform includes a
51b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainfully compliant Android library and system image, as well as a set of emulator
52b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainskins, sample applications, and more. The downloadable platform
53b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainincludes no external libraries. </p>
54b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
55b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<p>To get started developing or testing against the Android
56b149ee883502af8ae71757f9098c8e98c8548d25Scott Main{@sdkPlatformVersion} platform, use the Android SDK and AVD Manager tool to
577b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Doughertydownload the platform into your SDK. For more information,
5850e990c64fa23ce94efa76b9e72df7f8ec3cee6aScott Mainsee <a href="{@docRoot}sdk/exploring.html">Exploring the
5950e990c64fa23ce94efa76b9e72df7f8ec3cee6aScott MainSDK</a>.</p>
60b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
61b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
62b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<h2 id="features">Platform Highlights</h2>
63b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
64b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<p>Android {@sdkPlatformVersion} does not add significant user features, see the <a
6550e990c64fa23ce94efa76b9e72df7f8ec3cee6aScott Mainhref="http://developer.android.com/about/versions/android-2.0-highlights.html">Android
66b149ee883502af8ae71757f9098c8e98c8548d25Scott Main2.0 Platform Highlights</a> document for the latest user features.</p>
67b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
687b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty<h2 id="relnotes">Revisions</h2>
697b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty
707b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty<p>The sections below provide notes about successive releases of
717b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Doughertythe Android {@sdkPlatformVersion} platform component for the Android SDK, as denoted by
727b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Doughertyrevision number. To determine what revision(s) of the Android
737b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty{@sdkPlatformVersion} platforms are installed in your SDK environment, refer to
747b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Doughertythe "Installed Packages" listing in the Android SDK and AVD Manager.</p>
757b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty
765465e054d33436fa446465ebcff871f6b7e1e3ccScott Main
775465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<div class="toggle-content opened" style="padding-left:1em;">
785465e054d33436fa446465ebcff871f6b7e1e3ccScott Main
795465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<p><a href="#" onclick="return toggleContent(this)">
805465e054d33436fa446465ebcff871f6b7e1e3ccScott Main  <img src="{@docRoot}assets/images/triangle-opened.png"
815465e054d33436fa446465ebcff871f6b7e1e3ccScott Mainclass="toggle-content-img" alt="" />
825465e054d33436fa446465ebcff871f6b7e1e3ccScott Main  Android {@sdkPlatformVersion}, Revision 3</a> <em>(July 2011)</em>
835465e054d33436fa446465ebcff871f6b7e1e3ccScott Main</a></p>
845465e054d33436fa446465ebcff871f6b7e1e3ccScott Main
855465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<div class="toggle-content-toggleme" style="padding-left:2em;">
865465e054d33436fa446465ebcff871f6b7e1e3ccScott Main
875465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<dl>
885465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<dt>Dependencies:</dt>
895465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<dd>
9050e990c64fa23ce94efa76b9e72df7f8ec3cee6aScott Main<p>Requires <a href="{@docRoot}tools/sdk/tools-notes.html">SDK Tools r12</a> or
915465e054d33436fa446465ebcff871f6b7e1e3ccScott Mainhigher.</p>
925465e054d33436fa446465ebcff871f6b7e1e3ccScott Main</dd>
935465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<dt>Notes:</dt>
945465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<dd>
955465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<p>Improvements to the platform's rendering library to support the visual layout editor in the ADT
965465e054d33436fa446465ebcff871f6b7e1e3ccScott MainEclipse plugin. This revision allows for more drawing features in ADT and fixes several
975465e054d33436fa446465ebcff871f6b7e1e3ccScott Mainbugs in the previous rendering library. It also unlocks several editor features that were added in
985465e054d33436fa446465ebcff871f6b7e1e3ccScott MainADT 12.</p>
995465e054d33436fa446465ebcff871f6b7e1e3ccScott Main</dd>
1005465e054d33436fa446465ebcff871f6b7e1e3ccScott Main</dl>
1015465e054d33436fa446465ebcff871f6b7e1e3ccScott Main
1025465e054d33436fa446465ebcff871f6b7e1e3ccScott Main</div>
1035465e054d33436fa446465ebcff871f6b7e1e3ccScott Main</div>
1045465e054d33436fa446465ebcff871f6b7e1e3ccScott Main
1055465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<div class="toggle-content closed" style="padding-left:1em;">
1065465e054d33436fa446465ebcff871f6b7e1e3ccScott Main
1075465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<p><a href="#" onclick="return toggleContent(this)">
1085465e054d33436fa446465ebcff871f6b7e1e3ccScott Main  <img src="{@docRoot}assets/images/triangle-closed.png"
1095465e054d33436fa446465ebcff871f6b7e1e3ccScott Mainclass="toggle-content-img" alt="" />
1105465e054d33436fa446465ebcff871f6b7e1e3ccScott Main  Android {@sdkPlatformVersion}, Revision 2</a> <em>(May 2010)</em>
1115465e054d33436fa446465ebcff871f6b7e1e3ccScott Main</a></p>
1125465e054d33436fa446465ebcff871f6b7e1e3ccScott Main
1135465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<div class="toggle-content-toggleme" style="padding-left:2em;">
1140d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty<dl>
1150d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty<dt>Dependencies:</dt>
1160d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty<dd>
1170d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty<p>Requires SDK Tools r6 or higher.</p>
1180d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty</dd>
1190d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty
1200d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty<dt>Tools:</dt>
1210d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty<dd>
1220d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty<ul> 
1230d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty<li>Adds support for library projects in the Ant build system.</li>
1240d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty<li>Adds improved layout rendering in ADT’s visual layout editor.</li>
1250d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty</ul> 
1260d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty</dd>
1270d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty
1280d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty</dl>
1290d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty </div>
1300d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty</div>
1310d1b0814be24f501395bf175fba8691117f782d5Dirk Dougherty
1325465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<div class="toggle-content closed" style="padding-left:1em;">
1335465e054d33436fa446465ebcff871f6b7e1e3ccScott Main
1345465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<p><a href="#" onclick="return toggleContent(this)">
1355465e054d33436fa446465ebcff871f6b7e1e3ccScott Main  <img src="{@docRoot}assets/images/triangle-closed.png"
1365465e054d33436fa446465ebcff871f6b7e1e3ccScott Mainclass="toggle-content-img" alt="" />
1375465e054d33436fa446465ebcff871f6b7e1e3ccScott Main  Android {@sdkPlatformVersion}, Revision 1</a> <em>(January 2010)</em>
1385465e054d33436fa446465ebcff871f6b7e1e3ccScott Main</a></p>
1395465e054d33436fa446465ebcff871f6b7e1e3ccScott Main
1405465e054d33436fa446465ebcff871f6b7e1e3ccScott Main<div class="toggle-content-toggleme" style="padding-left:2em;">
1417b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty<dl>
1427b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty<dt>Dependencies:</dt>
1437b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty<dd>
1447b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty<p>Requires SDK Tools r4 or higher.</p>
1457b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty</dd>
1467b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty</dl>
1477b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty </div>
1487b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty</div>
1497b229effcced9ad5aaa3d2ea6b4b219239348481Dirk Dougherty
15044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
15144108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<h2 id="api-level">API Level</h2>
15244108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
15344108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<p>The Android {@sdkPlatformVersion} platform delivers an updated version of
15444108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertythe framework API. The Android {@sdkPlatformVersion} API
15544108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyis assigned an integer identifier &mdash;
15644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<strong>{@sdkPlatformApiLevel}</strong> &mdash; that is
15744108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertystored in the system itself. This identifier, called the "API Level", allows the
15844108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertysystem to correctly determine whether an application is compatible with
15944108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertythe system, prior to installing the application. </p>
16044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
16144108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<p>To use APIs introduced in Android {@sdkPlatformVersion} in your
16244108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyapplication, you need to set the proper value, "{@sdkPlatformApiLevel}", in the
16344108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<code>android:minSdkVersion</code> attributes of the <code>&lt;uses-sdk&gt;</code>
16444108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyelement in your application's manifest. </p>
16544108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
16644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<p>For more information about how to use API Level, see the <a
16750e990c64fa23ce94efa76b9e72df7f8ec3cee6aScott Mainhref="{@docRoot}guide/topics/manifest/uses-sdk-element.html#ApiLevels">API Levels</a> document. </p>
16844108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
16944108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
17044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<h2 id="api">Framework API Changes</h2>
17144108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
17244108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<p>The sections below provide information about changes made to the application
17344108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyframework API provided by the Android {@sdkPlatformVersion} platform.</p>
17444108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
17544108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<h3>Live Wallpapers</h3>
17644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
17744108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<p>The following additions provide APIs for you to develop animated wallpapers:</p>
17844108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<ul>
17944108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li>New {@link android.service.wallpaper} package.</li>
18044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li>New {@link android.app.WallpaperInfo} class.</li>
18144108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li>Updated {@link android.app.WallpaperManager}.</li>
18244108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty</ul>
18344108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
18444108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<p>Additionally, if your application uses or provides Live Wallpapers, you must
18544108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyremember to add a <a
18644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyhref="{@docRoot}guide/topics/manifest/uses-feature-element.html"><code>&lt;uses-feature></code></a>
18744108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty element to the application's manifest, declaring the attribute
18844108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<code>android:name="android.software.live_wallpaper"</code>. For example:</p>
18944108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
19044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<pre class="no-pretty-print">
19144108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty&lt;uses-feature android:name="android.software.live_wallpaper" />
19244108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty</pre>
19344108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
1944d7bc65538c7cd9fbb1fbbcf22d1da47fcee1219Dirk Dougherty<p>When you've published your application, Google Play checks for the
19544108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertypresence of this element and uses it as a filter, ensuring that your application
19644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyis not made available to users whose devices do not support Live Wallpapers.
19744108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty</p>
19844108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
19944108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<h3>Telephony</h3>
20044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
20144108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<ul>
20244108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li>New {@link android.telephony.SignalStrength} class provides information
20344108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyabout the device's current network signal. This can be acquired from the
20444108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertynew {@link
20544108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyandroid.telephony.PhoneStateListener#onSignalStrengthsChanged(SignalStrength)}
20644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertycallback.</li>
20744108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
20844108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li>New {@link
20944108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyandroid.telephony.PhoneStateListener#onDataConnectionStateChanged(int,int)}
21044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertycallback.</li>
21144108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty</ul>
21244108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
21344108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<h3>Views</h3>
21444108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
21544108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<ul>
21644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li>New {@link android.view.View} methods {@link android.view.View#isOpaque()}
21744108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyand {@link android.view.View#onDrawScrollBars(Canvas)}.</li>
21844108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
21944108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li>New {@link android.widget.RemoteViews} methods {@link
22044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyandroid.widget.RemoteViews#addView(int,RemoteViews)} and {@link
22144108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyandroid.widget.RemoteViews#removeAllViews(int)}.</li>
22244108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
22344108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li>New {@link android.view.ViewGroup} methods {@link
22444108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyandroid.view.ViewGroup#isChildrenDrawingOrderEnabled()} and {@link
22544108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyandroid.view.ViewGroup#setChildrenDrawingOrderEnabled(boolean)}.</li>
22644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty</ul>
22744108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
22844108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<h3>WebKit</h3>
22944108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
23044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<ul>
23144108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li>New {@link android.webkit.WebStorage} methods to manipulate web
23244108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertystorage databases.</li>
23344108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
23444108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li>New {@link android.webkit.GeolocationPermissions} methods to
23544108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyget Geolocation permissions from, and set them on the WebView.</li>
23644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
23744108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li>New {@link android.webkit.WebSettings} methods to manage settings for
23844108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyapp cache, web storage, and zooming based on screen density.</li>
23944108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
24044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<li>New {@link android.webkit.WebChromeClient} methods for handling video,
24144108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertybrowsing history, custom Views, app cache limits, and more.</li>
24244108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty</ul>
24344108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
24444108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty</ul>
24544108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
24644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<!--
24744108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<h3 id="behavior-changes">Behavior changes</h3>
24844108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
24944108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<h3 id="bug-fixes">Bug fixes</h3>
25044108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty-->
25144108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
25244108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<h3 id="api-diff">API differences report</h3>
25344108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
25444108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty<p>For a detailed view of all API changes in Android {@sdkPlatformVersion} (API
25544108b54543c87e2c46a6d5d4339b3c4e06373deDirk DoughertyLevel {@sdkPlatformApiLevel}), as compared to API Level 6, see the <a
25644108b54543c87e2c46a6d5d4339b3c4e06373deDirk Doughertyhref="{@docRoot}sdk/api_diff/{@sdkPlatformApiLevel}/changes.html">API
25744108b54543c87e2c46a6d5d4339b3c4e06373deDirk DoughertyDifferences Report</a>.</p>
25844108b54543c87e2c46a6d5d4339b3c4e06373deDirk Dougherty
259b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<h2 id="apps">Built-in Applications</h2>
260b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
261b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<p>The system image included in the downloadable platform provides these
262b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainbuilt-in applications:</p>
263b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
264b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<table style="border:0;padding-bottom:0;margin-bottom:0;">
265b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<tr>
266b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<td style="border:0;padding-bottom:0;margin-bottom:0;">
267b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<ul>
268b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<li>Alarm Clock</li>
269b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<li>Browser</li>
270b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<li>Calculator</li>
271b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<li>Camera</li>
272b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<li>Contacts</li>
273b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<li>Custom Locale (developer app)</li>
274b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<li>Dev Tools (developer app)</li>
2755bc32d353949f17b2ff3ec1b1f02803b11c8d92eDirk Dougherty    <li>Email</li>
276b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	</ul>
277b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</td>
278b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<td style="border:0;padding-bottom:0;margin-bottom:0;padding-left:5em;">
279b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<ul>
2805bc32d353949f17b2ff3ec1b1f02803b11c8d92eDirk Dougherty
281b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<li>Gallery</li>
2825bc32d353949f17b2ff3ec1b1f02803b11c8d92eDirk Dougherty	<li>IMEs for Japanese, Chinese, and Latin text input</li>
283b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<li>Messaging</li>
284b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<li>Music</li>
2855bc32d353949f17b2ff3ec1b1f02803b11c8d92eDirk Dougherty	<li>Phone</li>
286b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<li>Settings</li>
287b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	<li>Spare Parts (developer app)</li>
288b149ee883502af8ae71757f9098c8e98c8548d25Scott Main	</ul>
289b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</td>
290b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</tr>
291b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</table>
292b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
2935bc32d353949f17b2ff3ec1b1f02803b11c8d92eDirk Dougherty
294b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<h2 id="locs" style="margin-top:.75em;">Locales</h2>
295b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
296b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<p>The system image included in the downloadable platform provides a variety of
297b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainbuilt-in locales. In some cases, region-specific strings are available for the
298b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainlocales. In other cases, a default version of the language is used. The
299b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainlanguages that are available in the Android {@sdkPlatformVersion} system
300b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainimage are listed below (with <em>language</em>_<em>country/region</em> locale
301b149ee883502af8ae71757f9098c8e98c8548d25Scott Maindescriptor).</p>
302b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
303b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<table style="border:0;padding-bottom:0;margin-bottom:0;">
304b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<tr>
305b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<td style="border:0;padding-bottom:0;margin-bottom:0;">
306b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<ul>
307b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>Chinese, PRC (zh_CN)</li>
308b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>Chinese, Taiwan (zh_TW)</li>
309b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>Czech (cs_CZ)</li>
310b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>Dutch, Netherlands (nl_NL)</li>
311b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>Dutch, Belgium (nl_BE)</li>
312b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>English, US (en_US)</li>
313b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>English, Britain (en_GB)</li>
314b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>English, Canada (en_CA)</li>
315b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>English, Australia (en_AU)</li>
316b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>English, New Zealand (en_NZ)</li>
317b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>English, Singapore(en_SG)</li>
318b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>French, France (fr_FR)</li>
319b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>French, Belgium (fr_BE)</li>
320b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</ul>
321b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</td>
322b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<td style="border:0;padding-bottom:0;margin-bottom:0;padding-left:5em;">
323b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>French, Canada (fr_CA)</li>
324b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>French, Switzerland (fr_CH)</li>
325b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>German, Germany (de_DE)</li>
326b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>German, Austria (de_AT)</li>
327b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>German, Switzerland (de_CH)</li>
328b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>German, Liechtenstein (de_LI)</li>
329b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>Italian, Italy (it_IT)</li>
330b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>Italian, Switzerland (it_CH)</li>
331b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>Japanese (ja_JP)</li>
332b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>Korean (ko_KR)</li>
333b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>Polish (pl_PL)</li>
334b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>Russian (ru_RU)</li>
335b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<li>Spanish (es_ES)</li>
336b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</td>
337b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</tr>
338b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</table>
339b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
340b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<p>Localized UI strings match the locales that are accessible
341b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainthrough Settings.</p>
342b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
343b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<h2 id="skins">Emulator Skins</h2>
344b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
345b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<p>The downloadable platform includes a set of emulator skins that you can use
346b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainfor modeling your application in different screen sizes and resolutions. The
347b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainemulator skins are:</p>
348b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
349b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<ul>
350b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  <li>
351b149ee883502af8ae71757f9098c8e98c8548d25Scott Main    QVGA (240x320, low density, small screen)
352b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  </li>
353b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  <li>
354b149ee883502af8ae71757f9098c8e98c8548d25Scott Main    WQVGA (240x400, low density, normal screen)
355b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  </li>
356b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  <li>
357b149ee883502af8ae71757f9098c8e98c8548d25Scott Main    FWQVGA (240x432, low density, normal screen)
358b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  </li>
359b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  <li>
360b149ee883502af8ae71757f9098c8e98c8548d25Scott Main    HVGA (320x480, medium density, normal screen)
361b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  </li>
362b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  <li>
363b149ee883502af8ae71757f9098c8e98c8548d25Scott Main    WVGA800 (480x800, high density, normal screen)
364b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  </li>
365b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  <li>
366b149ee883502af8ae71757f9098c8e98c8548d25Scott Main    WVGA854 (480x854 high density, normal screen)
367b149ee883502af8ae71757f9098c8e98c8548d25Scott Main  </li>
368b149ee883502af8ae71757f9098c8e98c8548d25Scott Main</ul>
369b149ee883502af8ae71757f9098c8e98c8548d25Scott Main
370b149ee883502af8ae71757f9098c8e98c8548d25Scott Main<p>For more information about how to develop an application that displays
371b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainand functions properly on all Android-powered devices, see <a
372b149ee883502af8ae71757f9098c8e98c8548d25Scott Mainhref="{@docRoot}guide/practices/screens_support.html">Supporting Multiple
373b149ee883502af8ae71757f9098c8e98c8548d25Scott MainScreens</a>.</p>
374