Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 1 | page.title=Android 2.2 Platform |
| 2 | sdk.platform.version=2.2 |
| 3 | sdk.platform.apiLevel=8 |
| 4 | sdk.platform.majorMinor=minor |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 5 | |
| 6 | @jd:body |
| 7 | |
| 8 | <div id="qv-wrapper"> |
| 9 | <div id="qv"> |
| 10 | |
| 11 | <h2>In this document</h2> |
| 12 | <ol> |
| 13 | <li><a href="#features">Platform Highlights</a></li> |
| 14 | <li><a href="#relnotes">Revisions</a></li> |
Dirk Dougherty | 44108b5 | 2010-05-18 16:53:06 -0700 | [diff] [blame] | 15 | <li><a href="#api-level">API Level</a></li> |
| 16 | <li><a href="#api">Framework API Changes</a> |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 17 | <li><a href="#apps">Built-in Applications</a></li> |
| 18 | <li><a href="#locs">Locales</a></li> |
| 19 | <li><a href="#skins">Emulator Skins</a></li> |
Dirk Dougherty | 44108b5 | 2010-05-18 16:53:06 -0700 | [diff] [blame] | 20 | |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 21 | </ol> |
| 22 | </li> |
| 23 | </ol> |
| 24 | |
Dirk Dougherty | 44108b5 | 2010-05-18 16:53:06 -0700 | [diff] [blame] | 25 | <h2>Reference</h2> |
| 26 | <ol> |
| 27 | <li><a |
| 28 | href="{@docRoot}sdk/api_diff/{@sdkPlatformApiLevel}/changes.html">API |
| 29 | Differences Report »</a> </li> |
| 30 | </ol> |
| 31 | |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 32 | <h2>See Also</h2> |
| 33 | <ol> |
| 34 | <li><a href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a></li> |
| 35 | </ol> |
| 36 | |
| 37 | </div> |
| 38 | </div> |
| 39 | |
| 40 | <p> |
| 41 | <em>API Level:</em> <strong>{@sdkPlatformApiLevel}</strong></p> |
| 42 | |
Scott Main | 0a9cb85 | 2010-05-19 11:53:33 -0700 | [diff] [blame] | 43 | <p>Android {@sdkPlatformVersion} is a {@sdkPlatformMajorMinor} platform release including user |
| 44 | features, developer features, API changes, and bug |
Scott Main | a6df4b1 | 2010-10-19 16:40:14 -0700 | [diff] [blame] | 45 | fixes. For information on developer features and API changes, see the |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 46 | <a href="#api">Framework API</a> section.</p> |
| 47 | |
| 48 | <p>For developers, the Android {@sdkPlatformVersion} platform is available as a |
| 49 | downloadable component for the Android SDK. The downloadable platform includes a |
| 50 | fully compliant Android library and system image, as well as a set of emulator |
| 51 | skins, sample applications, and more. The downloadable platform |
| 52 | includes no external libraries. </p> |
| 53 | |
| 54 | <p>To get started developing or testing against the Android |
| 55 | {@sdkPlatformVersion} platform, use the Android SDK and AVD Manager tool to |
| 56 | download the platform into your SDK. For more information, |
| 57 | see <a href="{@docRoot}sdk/adding-components.html">Adding SDK |
| 58 | Components</a>. If you are new to Android, <a |
| 59 | href="{@docRoot}sdk/index.html">download the SDK Starter Package</a> |
| 60 | first.</p> |
| 61 | |
| 62 | |
| 63 | <h2 id="features">Platform Highlights</h2> |
| 64 | |
Scott Main | a6df4b1 | 2010-10-19 16:40:14 -0700 | [diff] [blame] | 65 | <p>For a list of new user features and platform highlights, see the <a |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 66 | href="http://developer.android.com/sdk/android-2.2-highlights.html">Android |
| 67 | 2.2 Platform Highlights</a> document.</p> |
| 68 | |
| 69 | <h2 id="relnotes">Revisions</h2> |
| 70 | |
| 71 | <p>The sections below provide notes about successive releases of |
| 72 | the Android {@sdkPlatformVersion} platform component for the Android SDK, as denoted by |
| 73 | revision number. To determine what revision(s) of the Android |
| 74 | {@sdkPlatformVersion} platforms are installed in your SDK environment, refer to |
| 75 | the "Installed Packages" listing in the Android SDK and AVD Manager.</p> |
| 76 | |
| 77 | <script type="text/javascript"> |
| 78 | function toggleDiv(link) { |
| 79 | var toggleable = $(link).parent(); |
| 80 | if (toggleable.hasClass("closed")) { |
| 81 | //$(".toggleme", toggleable).slideDown("fast"); |
| 82 | toggleable.removeClass("closed"); |
| 83 | toggleable.addClass("open"); |
| 84 | $(".toggle-img", toggleable).attr("title", "hide").attr("src", (toRoot + "assets/images/triangle-opened.png")); |
| 85 | } else { |
| 86 | //$(".toggleme", toggleable).slideUp("fast"); |
| 87 | toggleable.removeClass("open"); |
| 88 | toggleable.addClass("closed"); |
| 89 | $(".toggle-img", toggleable).attr("title", "show").attr("src", (toRoot + "assets/images/triangle-closed.png")); |
| 90 | } |
| 91 | return false; |
| 92 | } |
| 93 | </script> |
| 94 | <style> |
| 95 | .toggleable { |
Dirk Dougherty | 44108b5 | 2010-05-18 16:53:06 -0700 | [diff] [blame] | 96 | padding: .25em 1em 0em 1em; |
| 97 | margin-bottom: 0; |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 98 | } |
| 99 | .toggleme { |
| 100 | padding: 1em 1em 0 2em; |
| 101 | line-height:1em; |
| 102 | } |
| 103 | .toggleable a { |
| 104 | text-decoration:none; |
| 105 | } |
| 106 | .toggleme a { |
| 107 | text-decoration:underline; |
| 108 | } |
| 109 | .toggleable.closed .toggleme { |
| 110 | display:none; |
| 111 | } |
| 112 | #jd-content .toggle-img { |
| 113 | margin:0; |
| 114 | } |
| 115 | </style> |
| 116 | |
| 117 | <div class="toggleable opened"> |
| 118 | <a href="#" onclick="return toggleDiv(this)"> |
| 119 | <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px" /> |
Dirk Dougherty | 0b2395c | 2010-06-23 15:38:39 -0700 | [diff] [blame] | 120 | Android {@sdkPlatformVersion}, Revision 2</a> <em>(July 2010)</em></a> |
| 121 | <div class="toggleme"> |
| 122 | <dl> |
| 123 | <dt>Dependencies:</dt> |
| 124 | <dd> |
| 125 | <p>Requires SDK Tools r6 or higher.</p> |
| 126 | </dd> |
| 127 | |
| 128 | <dt>System Image:</dt> |
| 129 | <dd> |
| 130 | <ul> |
| 131 | <li>Adds default Search Widget.</li> |
| 132 | <li>Includes proper provisioning for the platform's Backup Manager. For more information about how to use the Backup Manager, see <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a>.</li> |
| 133 | <li>Updates the Android 2.2 system image to FRF91.</li> |
| 134 | </ul> |
| 135 | </dd> |
| 136 | |
| 137 | </dl> |
| 138 | </div> |
| 139 | </div> |
| 140 | |
| 141 | <div class="toggleable closed"> |
| 142 | <a href="#" onclick="return toggleDiv(this)"> |
Dirk Dougherty | 3c691a8 | 2010-06-15 12:27:00 -0700 | [diff] [blame] | 143 | <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" width="9px" /> |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 144 | Android {@sdkPlatformVersion}, Revision 1</a> <em>(May 2010)</em></a> |
| 145 | <div class="toggleme"> |
| 146 | <dl> |
| 147 | <dt>Dependencies:</dt> |
| 148 | <dd> |
| 149 | <p>Requires SDK Tools r6 or higher.</p> |
| 150 | </dd> |
| 151 | |
| 152 | <dt>Tools:</dt> |
| 153 | <dd> |
Dirk Dougherty | 877fb9a | 2010-05-13 22:05:56 -0700 | [diff] [blame] | 154 | <p>Adds support for building with Android library projects. See <a href="tools-notes.html">SDK Tools, r6</a> for information.</p> |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 155 | </dd> |
| 156 | |
| 157 | </dl> |
| 158 | </div> |
| 159 | </div> |
| 160 | |
Dirk Dougherty | 44108b5 | 2010-05-18 16:53:06 -0700 | [diff] [blame] | 161 | <h2 id="api-level">API Level</h2> |
| 162 | |
| 163 | <p>The Android {@sdkPlatformVersion} platform delivers an updated version of |
| 164 | the framework API. The Android {@sdkPlatformVersion} API |
| 165 | is assigned an integer identifier — |
| 166 | <strong>{@sdkPlatformApiLevel}</strong> — that is |
| 167 | stored in the system itself. This identifier, called the "API Level", allows the |
| 168 | system to correctly determine whether an application is compatible with |
| 169 | the system, prior to installing the application. </p> |
| 170 | |
| 171 | <p>To use APIs introduced in Android {@sdkPlatformVersion} in your |
| 172 | application, you need to set the proper value, "{@sdkPlatformApiLevel}", in the |
| 173 | <code>android:minSdkVersion</code> attributes of the <code><uses-sdk></code> |
| 174 | element in your application's manifest. </p> |
| 175 | |
| 176 | <p>For more information about how to use API Level, see the <a |
| 177 | href="{@docRoot}guide/appendix/api-levels.html">API Levels</a> document. </p> |
| 178 | |
| 179 | |
| 180 | <h2 id="api">Framework API Changes</h2> |
| 181 | |
| 182 | <p>The sections below provide information about changes made to the application |
| 183 | framework API provided by the Android {@sdkPlatformVersion} platform.</p> |
| 184 | |
| 185 | <h3 id="install-loc">App installation on external storage media</h3> |
| 186 | |
| 187 | <p>The Android platform now allows applications to request installation onto the |
| 188 | device's external storage media (such as the SD card), as an alternative to |
| 189 | installation onto the device's internal memory. </p> |
| 190 | |
| 191 | <p>Application developers can express the preferred installation location for |
| 192 | their applications by means of a new attribute of <code><manifest></code> |
| 193 | in the manifest file, <a |
| 194 | href="{@docRoot}guide/topics/manifest/manifest-element.html#install"><code> |
| 195 | android:installLocation</code></a>. The attribute supports three values: |
| 196 | <code>"internalOnly"</code>, <code>"preferExternal"</code>, and |
| 197 | <code>"auto"</code>. At install time, the system checks the value of |
| 198 | <code>android:installLocation</code> and installs the application |
| 199 | <code>.apk</code> according to the preferred location, if possible. If the |
| 200 | application has requested external installation, the system installs it into a |
| 201 | private, encrypted partition in the external media. Once an application .apk is |
| 202 | installed externally, the system lets the user change the storage location of |
| 203 | the .apk and move it onto the device's internal memory if needed (and vice |
| 204 | versa), through Manage Applications in the user settings.</p> |
| 205 | |
| 206 | <p>By default, the system installs all applications onto the device's internal |
| 207 | memory, except for those that explicitly request external installation. This |
| 208 | means that the system will always install legacy applications onto internal |
| 209 | memory, since they do not have access to the |
| 210 | <code>android:installLocation</code> attribute. However, it is possible to |
| 211 | configure and compile a legacy application such that it is installed internally |
| 212 | on older versions of the platform and externally on Android 2.2 and later |
| 213 | platforms, if necessary. </p> |
| 214 | |
| 215 | <p>Note that requesting installation onto the device's external media is not |
| 216 | suitable for all applications, particularly because the external media may be |
| 217 | removable and unmounting/remounting may disrupt the user experience and system |
| 218 | settings.</p> |
| 219 | |
| 220 | <p>For more information about setting a preferred install location for your |
| 221 | application, including a discussion of what types of applications should and |
| 222 | should not request external installation, please read the <a |
| 223 | href="{@docRoot}guide/appendix/install-location.html">App Install Location</a> |
| 224 | document. </p> |
| 225 | |
| 226 | <h3 id="backup-manager">Data backup</h3> |
| 227 | |
| 228 | <p>The platform now provides a generalized backup service that |
| 229 | applications can use to backup and restore user data, to ensure that users can |
| 230 | maintain their data when switching devices or reinstalling the application. The |
| 231 | Backup Manager handles the work of transporting the application data to and from |
| 232 | the backup storage area in the cloud. The Backup Manager can store any type of |
| 233 | data, from arbitrary data to files, and manages backup and restore operations |
| 234 | in an atomic manner. For more information, see <a |
| 235 | href="{@docRoot}guide/topics/data/backup.html">Data Backup</a>.</p> |
| 236 | |
| 237 | <h3>Graphics</h3> |
| 238 | |
| 239 | <ul> |
| 240 | <li>New OpenGL ES 2.0 APIs in {@link android.opengl.GLES20 android.opengl.GLES20}.</li> |
| 241 | <li>New {@link android.opengl.ETC1}, {@link android.opengl.ETC1Util}, and {@link android.opengl.ETC1Util.ETC1Texture} classes and utility methods for using ETC1 for texture compression.</li> |
| 242 | <li>New {@link android.graphics.ImageFormat} class.</li> |
| 243 | <li>New {@link android.graphics.YuvImage YUV image format API} to enable compression from YUV to JPEG and manipulation of YUV data.</li> |
| 244 | </ul> |
| 245 | |
| 246 | <h3>Media</h3> |
| 247 | |
| 248 | <ul> |
| 249 | <li>New APIs in {@link android.media.AudioManager android.media.AudioManager} for managing audio focus, transport control, transient loss of audio focus, ducking.</li> |
| 250 | <li>New broadcast intent for routing audio to SCO — {@link android.media.AudioManager#ACTION_SCO_AUDIO_STATE_CHANGED} with extras indicating new state.</li> |
| 251 | <li>New APIs in {@link android.media.SoundPool} to detect completion of sound-loading.</li> |
| 252 | <li>New APIs in {@link android.media.SoundPool} for auto pause and resume.</li> |
| 253 | <li>New APIs in {@link android.media.MediaRecorder} for specifying audio settings for number of channels, encoding and sampling rates, sampling rate.</li> |
| 254 | <li>New APIs for adding files to the media database, so that they are automatically scanned. See {@link android.media.MediaScannerConnection#scanFile(Context, String[], String[], OnScanCompletedListener) MediaScannerConnection.scanFile} and {@link android.media.MediaScannerConnection.OnScanCompletedListener MediaScannerConnection.OnScanCompletedListener}.</li> |
| 255 | </ul> |
| 256 | |
| 257 | <h3>Speech recognition and third-party recognition engines</h3> |
| 258 | |
| 259 | <ul> |
| 260 | <li>The platform provides new speech-recognition APIs that allow applications to have a richer interaction with the available voice recognizer. For example, the APIs are sufficient to integrate voice recognition deeply into an IME.</li> |
| 261 | <li>The platform also provides a {@link android.speech.RecognitionService} base class that lets third-party developers create plug-in recognition engines. </li> |
| 262 | <li>New {@link android.speech.RecognitionListener} interface to receive callbacks.</li> |
| 263 | <li>New {@link android.speech.RecognizerIntent} extras that let a requester app specify details as preferred language, minimum length in milliseconds, and so on.</li> |
| 264 | </ul> |
| 265 | |
| 266 | <h3>Camera and camcorder</h3> |
| 267 | |
| 268 | <ul> |
| 269 | <li>Changes to camera preview API to improve efficieny of preview pipeline. </li> |
| 270 | <li>New display orientation for camera (it can now work in portrait orientation).</li> |
| 271 | <li>New APIs in {@link android.hardware.Camera android.hardware.Camera} for managing zoom level.</li> |
| 272 | <li>New APIs {@link android.hardware.Camera.Parameters android.hardware.Camera.Parameters} for querying and setting device camera settings such as focal length, exposure, zoom level, view angle, and others.</li> |
| 273 | <li>New {@link android.media.ThumbnailUtils thumbnail} utility for video and image thumbnails.</li> |
| 274 | <li>New {@link android.media.CamcorderProfile} and {@link android.media.CamcorderProfile} classes enable apps to determine device hardware camera capablities.</li> |
| 275 | <li>New support in {@link android.media.ExifInterface android.media.ExifInterface} for retrieving GPS and focal length.</li> |
| 276 | </ul> |
| 277 | |
| 278 | <h3>Device policy manager</h3> |
| 279 | |
| 280 | <p>New device policy management APIs allow developers to write "device |
| 281 | administrator" applications that can control security features of the device, |
| 282 | such as the minimum password strength, data wipe, and so on. Users can select |
| 283 | the administrators that are enabled on their devices. For more information, see |
| 284 | the {@link android.app.admin android.app.admin} classees or the example |
| 285 | application code in <a |
| 286 | href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.html">DeviceAdminSample.java</a>.</p> |
| 287 | |
| 288 | <h3>UI Framework</h3> |
| 289 | |
| 290 | <ul> |
| 291 | <li>New UI modes "car mode" and "night mode" and {@link android.app.UiModeManager} let applications adjust their application UI for specific user modes. </li> |
| 292 | <li>New {@link android.view.ScaleGestureDetector} that lets Views detect and handle transformation gestures that involve more than one pointer (multitouch) using the supplied MotionEvents. </li> |
| 293 | <li>Improvements in the way that multitouch events are reported in {@link android.view.MotionEvent} objects.</li> |
| 294 | <li>The layout attribute <code>fill_parent</code> is renamed to <code>match_parent</code>. This affects both XML and Java code (see {@link android.view.ViewGroup.LayoutParams}). Note that the platform will continue to honor uses of <code>fill_parent</code> in legacy applications. </li> |
| 295 | <li>New layout attributes {@link android.R.attr#tabStripEnabled}, {@link android.R.attr#tabStripRight}, and {@link android.R.attr#tabStripLeft} let developers customize the bottom strip of TabWidgets.</li> |
| 296 | <li>Better support for managed dialogs in Activity.</li> |
| 297 | </ul> |
| 298 | |
| 299 | <h3>Accounts and sync</h3> |
| 300 | |
| 301 | <ul> |
| 302 | <li>New method {@link android.content.ContentResolver#addPeriodicSync(Account, String, Bundle, long) AddPeriodicSync()} lets you schedule a periodic sync with a specific account, authority, and extras at the given frequency.</li> |
| 303 | </ul> |
| 304 | |
| 305 | <h3>New manifest elements and attributes</h3> |
| 306 | |
| 307 | <ul> |
| 308 | <li>For specifying the application's preferred install location (see <a href="#install-loc">App Installation on External Storage Media</a>, above): |
| 309 | |
| 310 | <ul> |
| 311 | <li>New <code>android:installLocation</code> attribute of the <code><manifest></code> element. Specifies the default install location defined by an application.</li> |
| 312 | </ul> |
| 313 | </li> |
| 314 | |
| 315 | <li>For managing user data backup (see <a href="#backup-manager">Backup manager</a>, above, for more information): |
| 316 | |
| 317 | <ul> |
| 318 | <li> New <code>android:backupAgent</code> attribute of the |
Scott Main | a6df4b1 | 2010-10-19 16:40:14 -0700 | [diff] [blame] | 319 | <code><application></code> element. Specifies the component name of the |
| 320 | BackupAgent subclass provided by the application to handle backup/restore |
Dirk Dougherty | 44108b5 | 2010-05-18 16:53:06 -0700 | [diff] [blame] | 321 | operations, if any.</li> |
| 322 | <li> New <code>android:restoreAnyVersion</code> attribute of the |
| 323 | <code><application></code> element. Boolean value that indicates whether |
| 324 | the application is prepared to attempt a restore of any backed-up dataset, even |
| 325 | if the backup is apparently from a newer version of the application than is |
| 326 | currently installed on the device.</li> |
| 327 | </ul> |
| 328 | </li> |
| 329 | |
| 330 | <li>For managing the platform's JIT compiler: |
| 331 | |
| 332 | <ul> |
| 333 | <li>New <code>android:vmSafeMode</code> attribute of the <code><application></code> element. Boolean value that specifies whether to disable JIT compiler optimizations when running the application.</li> |
| 334 | </ul> |
| 335 | </li> |
| 336 | </ul> |
| 337 | |
| 338 | <h3>Permissions</h3> |
| 339 | |
| 340 | <ul> |
| 341 | <li><code>android.permission.BIND_DEVICE_ADMIN</code> — Any device administration broadcast receiver must require this permission, to ensure that only the system can interact with it.</li> |
| 342 | <li><code>android.permission.KILL_BACKGROUND_PROCESSES</code> — Allows an application to call {@link android.app.ActivityManager#killBackgroundProcesses(String)}. |
| 343 | <li><code>android.permission.BIND_WALLPAPER</code> — Any {@link android.service.wallpaper.WallpaperService} must require this permission, to ensure that only the system can interact with it.</li> |
| 344 | <li><code>android.permission.SET_TIME</code> — Allows an application to set the system time.</li> |
| 345 | </ul> |
| 346 | |
| 347 | <h3 id="api-diff">API differences report</h3> |
| 348 | |
| 349 | <p>For a detailed view of all API changes in Android {@sdkPlatformVersion} (API |
| 350 | Level {@sdkPlatformApiLevel}), see the <a |
| 351 | href="{@docRoot}sdk/api_diff/{@sdkPlatformApiLevel}/changes.html">API |
| 352 | Differences Report</a>.</p> |
| 353 | |
| 354 | |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 355 | <h2 id="apps">Built-in Applications</h2> |
| 356 | |
| 357 | <p>The system image included in the downloadable platform provides these |
| 358 | built-in applications:</p> |
| 359 | |
| 360 | <table style="border:0;padding-bottom:0;margin-bottom:0;"> |
| 361 | <tr> |
| 362 | <td style="border:0;padding-bottom:0;margin-bottom:0;"> |
| 363 | <ul> |
| 364 | <li>Alarm Clock</li> |
| 365 | <li>Browser</li> |
| 366 | <li>Calculator</li> |
| 367 | <li>Camera</li> |
| 368 | <li>Contacts</li> |
| 369 | <li>Custom Locale (developer app)</li> |
| 370 | <li>Dev Tools (developer app)</li> |
| 371 | <li>Email</li> |
| 372 | </ul> |
| 373 | </td> |
| 374 | <td style="border:0;padding-bottom:0;margin-bottom:0;padding-left:5em;"> |
| 375 | <ul> |
| 376 | |
| 377 | <li>Gallery</li> |
| 378 | <li>IMEs for Japanese, Chinese, and Latin text input</li> |
| 379 | <li>Messaging</li> |
| 380 | <li>Music</li> |
| 381 | <li>Phone</li> |
| 382 | <li>Settings</li> |
| 383 | <li>Spare Parts (developer app)</li> |
| 384 | </ul> |
| 385 | </td> |
| 386 | </tr> |
| 387 | </table> |
| 388 | |
| 389 | |
| 390 | <h2 id="locs" style="margin-top:.75em;">Locales</h2> |
| 391 | |
| 392 | <p>The system image included in the downloadable platform provides a variety of |
| 393 | built-in locales. In some cases, region-specific strings are available for the |
| 394 | locales. In other cases, a default version of the language is used. The |
| 395 | languages that are available in the Android {@sdkPlatformVersion} system |
| 396 | image are listed below (with <em>language</em>_<em>country/region</em> locale |
| 397 | descriptor).</p> |
| 398 | |
| 399 | <table style="border:0;padding-bottom:0;margin-bottom:0;"> |
| 400 | <tr> |
| 401 | <td style="border:0;padding-bottom:0;margin-bottom:0;"> |
| 402 | <ul> |
| 403 | <li>Chinese, PRC (zh_CN)</li> |
| 404 | <li>Chinese, Taiwan (zh_TW)</li> |
| 405 | <li>Czech (cs_CZ)</li> |
| 406 | <li>Dutch, Netherlands (nl_NL)</li> |
| 407 | <li>Dutch, Belgium (nl_BE)</li> |
| 408 | <li>English, US (en_US)</li> |
| 409 | <li>English, Britain (en_GB)</li> |
| 410 | <li>English, Canada (en_CA)</li> |
| 411 | <li>English, Australia (en_AU)</li> |
| 412 | <li>English, New Zealand (en_NZ)</li> |
| 413 | <li>English, Singapore(en_SG)</li> |
| 414 | <li>French, France (fr_FR)</li> |
| 415 | <li>French, Belgium (fr_BE)</li> |
| 416 | </ul> |
| 417 | </td> |
| 418 | <td style="border:0;padding-bottom:0;margin-bottom:0;padding-left:5em;"> |
| 419 | <li>French, Canada (fr_CA)</li> |
| 420 | <li>French, Switzerland (fr_CH)</li> |
| 421 | <li>German, Germany (de_DE)</li> |
| 422 | <li>German, Austria (de_AT)</li> |
| 423 | <li>German, Switzerland (de_CH)</li> |
| 424 | <li>German, Liechtenstein (de_LI)</li> |
| 425 | <li>Italian, Italy (it_IT)</li> |
| 426 | <li>Italian, Switzerland (it_CH)</li> |
| 427 | <li>Japanese (ja_JP)</li> |
| 428 | <li>Korean (ko_KR)</li> |
| 429 | <li>Polish (pl_PL)</li> |
| 430 | <li>Russian (ru_RU)</li> |
| 431 | <li>Spanish (es_ES)</li> |
| 432 | </td> |
| 433 | </tr> |
| 434 | </table> |
| 435 | |
| 436 | <p>Localized UI strings match the locales that are accessible |
| 437 | through Settings.</p> |
| 438 | |
Scott Main | a6df4b1 | 2010-10-19 16:40:14 -0700 | [diff] [blame] | 439 | <p class="note"><strong>Note:</strong> Android supports more locales than are listed above. However, |
| 440 | the entire collection of locale strings cannot fit on a single system image, so the above list is |
| 441 | only what's included in the system image for the SDK. All of Android's supported locales are |
| 442 | available in the <a href="http://source.android.com/">Android Open Source Project</a>.</p> |
| 443 | |
Dirk Dougherty | 0d1b081 | 2010-04-07 17:05:16 -0700 | [diff] [blame] | 444 | <h2 id="skins">Emulator Skins</h2> |
| 445 | |
| 446 | <p>The downloadable platform includes a set of emulator skins that you can use |
| 447 | for modeling your application in different screen sizes and resolutions. The |
| 448 | emulator skins are:</p> |
| 449 | |
| 450 | <ul> |
| 451 | <li> |
| 452 | QVGA (240x320, low density, small screen) |
| 453 | </li> |
| 454 | <li> |
| 455 | WQVGA (240x400, low density, normal screen) |
| 456 | </li> |
| 457 | <li> |
| 458 | FWQVGA (240x432, low density, normal screen) |
| 459 | </li> |
| 460 | <li> |
| 461 | HVGA (320x480, medium density, normal screen) |
| 462 | </li> |
| 463 | <li> |
| 464 | WVGA800 (480x800, high density, normal screen) |
| 465 | </li> |
| 466 | <li> |
| 467 | WVGA854 (480x854 high density, normal screen) |
| 468 | </li> |
| 469 | </ul> |
| 470 | |
| 471 | <p>For more information about how to develop an application that displays |
| 472 | and functions properly on all Android-powered devices, see <a |
| 473 | href="{@docRoot}guide/practices/screens_support.html">Supporting Multiple |
Dirk Dougherty | 5a93032 | 2010-07-12 17:29:16 -0700 | [diff] [blame] | 474 | Screens</a>.</p> |