blob: d8c0174b33d54bfec2a68696628d922c606ad2b1 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001page.title=SDK Release Notes
2@jd:body
3
Dirk Doughertyfe1f7892009-04-21 18:52:41 -07004<p>This document provides version-specific information about Android SDK
5releases. For the latest known issues, please ensure that you're viewing this
Dirk Dougherty3f9de8b2009-05-22 16:04:18 -07006page at <a href="http://developer.android.com/sdk/RELEASENOTES.html">http://developer.android.com/sdk/RELEASENOTES.html</a>.</p>
7
Dirk Dougherty151dfac2009-07-07 11:18:52 -07008<h2 id="1.5_r3">Android 1.5 SDK, Release 3</h2>
9
10<p>Provides an updated Android 1.5 system image that includes permissions
11fixes, as described below, and a new application &mdash; an IME for Japanese
12text input. Also provides the same set of developer tools included in the
13previous SDK, but with bug fixes and several new features.</p>
14
15<h3>Permissions Fixes</h3>
16
17<p>The latest version of the Android platform, deployable to
18Android-powered devices, includes fixes to the permissions-checking
19in certain areas of the framework. Specifically, the Android system
20now properly checks and enforces several existing permissions where it
21not do so in the previous release. Because of these changes in
22enforcement, you are strongly encouraged to test your application
23against the new Android 1.5 system image included in this SDK, to ensure
24that it functions normally. </p>
25
26<p>In particular, if your application uses any of the system areas listed below,
27you should add the required permissions to the application's manifest and then
28test the areas of your code that depend on the permission-protected services.
29Even if you believe your application does not use the permissions-protected
30services, you should compile and test your application under the latest platform
31version to ensure that users will not encounter problems when using your
32application. </p>
33
34<p>The changes to permissions are as follows:</p>
35
36<ul>
37<li>When an application requests access to device camera (through
38android.hardware.camera), the <code>CAMERA</code> permission check is now
39properly enforced. </li>
40<li>When an application requests access to device audio capture (through
41android.media.MediaRecorder), the <code>RECORD_AUDIO</code> permission check is
42now properly enforced.</li>
43</ul>
44
45<!--
46<p>For more information, see the issue described in the oCert advisory
47below:</p>
48
49<p style="margin-left: 2em;"><a href="http://www.ocert.org/...">http://www.ocert.org/...</a></p>
50-->
51
52<h3>Resolved Issues, Changes</h3>
53
54<ul>
55<li>The SDK includes a new version of the Google APIs add-on. The add-on
56provides an updated com.google.android.maps external library that fixes compile
57errors related to certain classes such as GeoPoint. For information about the
58Google APIs add-on and the libraries it provides, see:
59
60<p style="margin-left:2em;"><a
61href="http://code.google.com/android/add-ons/google-apis">http://code.google.com/android/add-ons/google-apis</a> </p></li>
62
63<li>The SDK add-on architecture now lets device manufacturers specify a USB
64Vendor ID in their add-ons.
65<li>The <code>android</code> tool provides a new command that scans SDK add-ons
66for their USB Vendor IDs and makes them available to adb (OS X and Linux
67versions of the SDK only). The command is <code>android update adb</code>. On
68Windows versions of the SDK, a custom USB driver is included that supports the
69"Google" and "HTC" Vendor IDs, which allow adb to recognize G1 and HTC
70Magic devices. For other devices, contact the device manufacturer
71to obtain a USB driver, especially if you have an SDK add-on that defines
72a new USB Vendor ID.</li>
73<li>The telephony, sensor, and geo fix issues in the emulator are now
74fixed.</li>
75<li>When you use adb to uninstall an upgraded application, the Android system
76now properly restores any permissions that had already been granted to the
77previous (downgrade) version of the application</li>
78</ul>
79
Dirk Dougherty3f9de8b2009-05-22 16:04:18 -070080
81<h2 id="1.5_r2">Android 1.5 SDK, Release 2</h2>
82
83<p>This SDK release provides the same developer tools as the Android 1.5 SDK,
84Release 1, but provides an updated Android 1.5 system image that includes a
85security patch for the issue described in the oCert advisory below:</p>
86
87<p style="margin-left:2em;"><a href="http://www.ocert.org/advisories/ocert-2009-006.html">http://www.ocert.org/advisories/ocert-2009-006.html</a></p>
Dirk Doughertyfe1f7892009-04-21 18:52:41 -070088
89<h2 id="1.5_r1">Android 1.5 SDK, Release 1</h2>
90
91<p>This SDK provides updates to the development tools and Android system that
92you use to create applications for compliant Android-powered devices. </p>
93
94<h3>Release Overview</h3>
95
96<p>This SDK release includes many new features for developers. Highlights of the
97changes include: </p>
98
99 <ul>
100 <li>Multiple versions of the Android platform are included (Android 1.1,
101Android 1.5). The tools are updated to let you deploy your application
102on any platform in the SDK, which helps you ensure forward-compitility and,
103if applicable, backward-compatibility.</li>
104 <li>Introduces <a href="{@docRoot}guide/developing/tools/avd.html">Android
105Virtual Devices</a> &mdash; (AVD) configurations of options that you
106run in the emulator to better model actual devices. Each AVD gets its
107own dedicated storage area, making it much easier to work with multiple emulators
108that are running concurrently.</li>
109 <li>Support for SDK add-ons, which extend the
110Android SDK to give you access to one or more external Android libraries and/or
111a customized (but compliant) system image that can run in the emulator. </li>
Dirk Dougherty1f8059f2009-05-07 11:15:03 -0700112 <li>The new Eclipse ADT plugin (version 0.9.x) offers new Wizards to let you
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700113create projects targetted for specific Android configurations, generate XML
114resources (such as layouts, animations, and menus), generate alternate layouts,
115and export and sign your application for publishing.</li>
116 <li>Improved JUnit support in ADT</li>
117 <li>Easier profiling of performance</li>
118 <li>Easier management of localized applications. You can now include or
119exclude locale resources when building your APK from a single
120Android project.</li>
121 <li>A new tool called "android" replaces the activitycreator script.</li>
122 </ul>
123
124<p>For details about the Android platforms included in the SDK &mdash; including
125bug fixes, features, and API changes &mdash; please read the Version Notes
126documents available at left. For a list of Android platforms included in this
127release, see the <a href="{@docRoot}sdk/1.5_r1/index.html">Download
128page</a>.</p>
129
130<h3>Installation and Upgrade Notes</h3>
131
132<p>If you've been developing an application using an Android 1.1 SDK, you need
133to make a few changes to your development environment to migrate to the new SDK.
134Tools and documentation are provided to assist you. No changes to the source
135code of an existing application should be needed, provided that your application
136is not using Android internal structures or APIs.</p>
137
138<p>To ensure that your existing application will work properly on a device
139running the latest version of the Android platform, you are strongly encouraged
140to migrate the application to the new SDK, compile it using the platform
141matching the application's original API Level, and run it against the most
142current platform. </p>
143
144<p>If you're installing the Android SDK for the first time, please see
145the instructions in <a
146href="{@docRoot}sdk/1.5_r1/installing.html">Installing the SDK</a>.
147
148<h3>SDK Add-Ons</h3>
149
150<p>This version of the SDK introduces support for SDK add-ons, which extend the
151Android SDK to give you access to one or more external Android libraries and/or
152a customized (but compliant) system image that can run in the emulator. The
153purpose of an SDK add-on is to give you a way to develop applications for a
154specific actual device (or family of devices) that extends the APIs available to
155Android applications through external libraries or system customizations. </p>
156
157<p>From the perspective of your Android development environment, an SDK add-on
158is similar to any of the Android platform targets included in the SDK &mdash; it
159includes an external library, a system image, as well as custom emulator skins
160and system properties. The add-on differs in that the Android platform it
161provides may include customized UI, resources, or behaviors, a different set of
162preinstalled applications, or other similar modifications.
163
164<p>The SDK includes a single SDK add-on &mdash; the Google APIs add-on. The
165Google APIs add-on gives your application access to the com.google.android.maps
166external library that is included on many (if not most) Android-powered devices.
167The Google APIs add-on also includes a {@link android.location.Geocoder Geocoder}
168backend service implementation. For more information, see the "Maps External
169Library" section below. </p>
170
171<h3>Android Virtual Devices (AVDs)</h3>
172
173<p>The SDK now gives you the capability to compile an application against any
174one of several system targets, then run it in the emulator on top of any
175compatible system image. There are two types of targets:</p>
176<ul>
177<li>Targets that represent core Android platform versions. </li>
178<li>Targets that are SDK add-ons, which typically provide application access to
179one or more external libraries and/or a customized (but compliant) system image
180that can run in the emulator.
181</ul>
182
183<p>A new tool called "android" lets you discover what targets and AVDs are
184available to use.</p>
185
186<p>For more information about AVDs, see <a
187href="{@docRoot}guide/developing/tools/avd.html">Android Virtual Devices</a>
188
189<h3>Other Notes</h3>
190
191<p><strong>Maps External Library</strong></p>
192
193<p>In previous versions of the SDK, the com.google.android.maps package was
194included in the standard Android library and system image. In the Android 1.5
195SDK, that is not the case. The Android 1.5 library and system image do not
196include the Maps external library (com.google.android.maps). However, the Maps
197external library is available as part of the Google APIs add-on for the Android
198SDK, downloadable from this location: </p>
199
200<p style="margin-left:2em;"><a
201href="http://code.google.com/android/add-ons/google-apis">http://code.google.com
202/android/add-ons/google-apis</a> </p>
203
204<p>For your convenience, the Google APIs add-on is included in the SDK. </p>
205
206<p>For information about how to register for a Maps API Key, see
207<a href="http://code.google.com/android/add-ons/google-apis/mapkey.html">
208Obtaining a Maps API Key</a>.</p>
209
210<p><strong>USB Drivers for Windows</strong></p>
211
212<p>If you are using Windows and want to develop or test your application on an
213Android-powered device (such as the T-Mobile G1), you need an appropriate USB
214driver. For your convenience, the Windows version of the Android SDK includes
215these USB drivers that you can install, to let you develop on the device:</p>
216
217<ul>
218<li>USB driver for 32-bit XP and Vista</li>
219<li>USB driver for 64-bit Vista only</li>
220</ul>
221
222<p>The USB driver files are located in the
223<code>&lt;SDK&gt;/usb_driver</code> directory. For details and
224installation instructions, see <a
225href="{@docRoot}guide/developing/device.html#setting-up">Setting Up a
226Device for Development</a>.</p>
227</p>
228
229<h3>Resolved Issues, Changes</h3>
230
231<p><strong>Media</strong></p>
232<ul>
233<li>Updated documentation for {@link android.media.SoundPool
234android.media.SoundPool}</li>
235<li>{@link android.webkit.WebView} objects no longer automatically save
236thumbnails. The {@link android.webkit.WebView#capturePicture() capturePicture()}
237method will need to be called manually.</li>
238</ul>
239
240<h3>Known Issues</h3>
241
242<p><strong>Sensor problems in Emulator</strong></p>
243
244<ul>
245<li>If your application uses the Sensor API and you are running it in the
246emulator on the Android 1.5 system image, you may experience problems. Your
247application may generate ANR messages or crash when using the sensors. The
248problem is being investigated.</li>
249</ul>
250
251<p><strong>Other</strong></p>
252
253<ul>
254<li>We regret to inform developers that Android 1.5 will not include support for
255the Zilog Z80 processor architecture.</li>
256</ul>
257
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800258
259<h2 id="1.1_r1">Android 1.1 SDK, Release 1</h2>
260
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700261<p>This SDK provides the development tools and Android system image you need to
262create applications for Android-powered devices. Applications developed on this
263SDK will be compatible with mobile devices running the Android 1.1 platform.
264</p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800265
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700266<p>This release provides an updated system image (Android 1.1), updated
267documentation, and the same set of development tools provided in the Android 1.0
268r2 SDK. The updated system image includes bug fixes and some smaller features,
269as well as a few minor API changes from the 1.0 version. </p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800270
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700271<p>For details about the Android 1.1 system image included in the SDK &mdash;
272including bug fixes, features, and API changes &mdash; please read the <a
273href="{@docRoot}sdk/android-1.1.html">Android 1.1 Version Notes</a>.</p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800274
275<h3>App Versioning for Android 1.1</h3>
276
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700277<p>If you are using this SDK to build an application that is compatible
278<em>only</em> with Android-powered devices running the Android 1.1 platform,
279please note that you <strong>must</strong> set the the
280<code>android:minSdkVersion</code> attribute in the application's manifest to
281the API Level of Android 1.1 &mdash; "2".</p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800282
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700283<p>Specifically, you specify the <code>android:minSdkVersion</code> attribute in
284a <code>&lt;uses-sdk&gt;</code> element as a child of
285<code>&lt;manifest&gt;</code> in the manifest file. When set, the attribute
286looks like this: </p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800287
288<pre><code>&lt;manifest&gt;
289 ...
Dirk Dougherty1432cd82009-05-01 10:02:17 -0700290 &lt;uses-sdk android:minSdkVersion="2" /&gt;
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800291 ...
292&lt;/manifest&gt;</code>
293</pre>
294
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700295<p>By setting <code>android:minSdkVersion</code> in this way, you ensure that
296users will only be able to install your application if their devices are running
297the Android 1.1 platform. In turn, this ensures that your application will
298function properly on their devices, especially if it uses APIs introduced in
299Android 1.1. </p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800300
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700301<p>If your application uses APIs introduced in Android 1.1 but does not declare
Dirk Dougherty1432cd82009-05-01 10:02:17 -0700302<code>&lt;uses-sdk android:minSdkVersion="2" /&gt;</code>, then it will run properly on
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700303Android 1.1 devices but <em>not</em> on Android 1.0 devices. </p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800304
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700305<p>If your application does not use any new APIs introduced in Android 1.1, you
Dirk Dougherty1432cd82009-05-01 10:02:17 -0700306can indicate Android 1.0 compatibility by removing <code>android:minSdkVersion</code> or
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700307setting the attribute to "1". However, before publishing your application, you
308must make sure to compile your application against the Android 1.0 system image
309(available in the Android 1.0 SDK), to ensure that it builds and functions
310properly for Android 1.0 devices. You should test the application against system
311images corresponding to the API Levels that the application is designed to be
312compatible with.</p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800313
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700314<p>If you are sure your application is not using Android 1.1 APIs and has no
315need to use them, you might find it easier to keep working in the Android 1.0
316SDK, rather than migrating to the Android 1.1 SDK and having to do additional
317testing.</p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800318
319
320<h3>ADT Plugin Compatibility</h3>
321
322<p>For this version of the SDK &mdash; Android 1.1 SDK, Release 1
323&mdash; the compatible version of the Android Development Tools (ADT)
324Plugin for Eclipse is <strong>0.8.0</strong>. If you are using a
325previous version of ADT, you should update to the latest version for use
326with this SDK. For information about how to update your ADT plugin, see
327<a href="{@docRoot}sdk/1.1_r1/upgrading.html#update-plugin">Upgrading
328the SDK</a>.</p>
329
330<h3>Installation and Upgrade Notes</h3>
331
332<p>If you've been developing an application using an Android 1.0 SDK no
333changes to your application are needed. You may want to wipe application
334user data (emulator option <code>-wipe-data</code>) when running your
335application on the Android 1.1 emulator for the first time.</p>
336
337<p>If you're installing the Android SDK for the first time, please see
338the instructions in <a
Dirk Doughertyfe1f7892009-04-21 18:52:41 -0700339href="{@docRoot}sdk/1.5_r1/installing.html">Installing the SDK</a>.
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800340
341<h3>Other Notes</h3>
342
343<p><strong>MapView API Key</strong></p>
344
345<p>com.google.android.maps.MapView is a class that lets you
346easily integrate Google Maps into your application. Before you can
347access the maps data, you will need to register with the Google Maps
348service and receive a Maps API Key, which you then add to your MapView
349for authentication to the server.</p>
350
351<p>Developers should note that the registration service for MapView is now
352active and Google Maps is actively enforcing the Maps API Key requirement.
353For information about how to register for a Maps API Key, see
Dirk Dougherty1432cd82009-05-01 10:02:17 -0700354<a href="http://code.google.com/android/add-ons/google-apis/mapkey.html">
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800355Obtaining a Maps API Key</a>.</p>
356
357<p><strong>USB Drivers for Windows</strong></p>
358
359<p>If you using Windows and want to develop or test your application on an
360Android-powered device (such as the T-Mobile G1), you need an appropriate USB
361driver. For your convenience, the Windows version of the Android SDK includes
362these USB drivers that you can install, to let you develop on the device:</p>
363
364<ul>
365<li>USB driver for 32-bit XP and Vista</li>
366<li>USB driver for 64-bit Vista only</li>
367</ul>
368
369<p>The USB driver files are located in the
370<code>&lt;SDK&gt;/usb_driver</code> directory. For details and
371installation instructions, see <a
372href="{@docRoot}guide/developing/device.html#setting-up">Setting Up a
373Device for Development</a>.</p>
374</p>
375
376<h3>Resolved Issues, Changes</h3>
377
378<p><strong>Emulator</strong></p>
379<ul>
380<li>Emulator now saves the user image in &lt;android&gt;/SDK1.1/</code></li>
381</ul>
382
383<h3>Known Issues</h3>
384
385<p><strong>JUnit and Eclipse/ADT</strong></p>
386<ul>
387<li>If you are developing in Eclipse/ADT and want to add JUnit test
388classes, you can do so. However, you need to set up a custom JUnit configuration
389before your tests will run properly. For detailed information about how to set
390up the JUnit configuration, see the troubleshooting topic <a
391href="{@docRoot}guide/appendix/faq/troubleshooting.html#addjunit">Running a Junit test class
392in Eclipse</a>.</li>
393</ul>
394
395<p><strong>Other</strong></p>
396
397<ul>
398<li>It is not possible to send MMS messages between emulator instances. </li>
399<li>In some cases, you may encounter problems when using the browser on an
400emulator started with the command-line option <code>-http-proxy</code>. </li>
401<li>On the OSX platform, if you manually remove the ~/.android directory
402using <code>rm -rf ~/.android</code>, then try to run
403the emulator, it crashes. This happens because the emulator fails to create
404a new .android directory before attempting to create the child SDK1.0 directory.
405To work around this issue, manually create a new .android directory using
406<code>mkdir ~/.android</code>, then run the emulator. The emulator
407creates the SDK1.0 directory and starts normally. </li>
408<li>We regret to inform developers that Android 1.1 will not include support
409for ARCNet network interfaces.</li>
410<li>The final set of Intent patterns honored by Android 1.0 has not yet been
411fully documented. Documentation will be provided in future releases.</li>
412<li>In ADT Editor, you can add at most ten new resource values at a time,
413in a given res/values/*.xml, using the form in the Android Resources pane.
414If you add more than ten, the Android Resources pane will not display the
415attributes fields for the additional resource entries. To work around this
416problem, you can close the file in the editor and open it again, or you
417can edit the resource entries in the XML text mode. </li>
418<li>The emulator's battery-control commands (<code>power &lt;option&gt</code>)
419are not working in this release.</li>
420</ul>
421
422
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800423<h2 id="1.0_r2">Android 1.0 SDK, Release 2</h2>
424
425<p>This SDK release includes the Android 1.0 platform and application API.
426Applications developed on this SDK will be compatible with mobile devices
427running the Android 1.0 platform.</p>
428
429<p>This release includes mainly bug fixes, although some smaller features were
430added.</p>
431
432<h3>ADT Plugin Compatibility</h3>
433
434<p>For this release of the SDK, the compatible version of the Android
435Development Tools (ADT) Plugin for Eclipse is <strong>0.8.0</strong>. If you are
436using a previous version of ADT, you should update to the latest version for use
437with this SDK. For information about how to update your ADT plugin, see <a
Scott Main8a4c53a2009-04-24 13:41:44 -0700438href="{@docRoot}sdk/1.0_r2/upgrading.html">Upgrading the SDK</a>.</p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800439
440<h3>Installation and Upgrade Notes</h3>
441
442<p>If you're installing the Android SDK for the first time, please see the
Scott Main8a4c53a2009-04-24 13:41:44 -0700443instructions in <a href="{@docRoot}sdk/1.0_r2/installing.html">Installing the
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800444SDK</a>.
445
446<h3>Other Notes</h3>
447
448<p><strong>T-Mobile G1 Compatability</strong></p>
449
450<p>This version of the SDK has been tested for compatability with the first
451Android-powered mobile device, the <a href="http://www.t-mobileg1.com">T-Mobile
452G1</a>. </p>
453
454<p><strong>MapView API Key</strong></p>
455
456<p>MapView is a class that lets you easily integrate Google Maps into your
457application. Before you can access the maps data, you will need to register with
458the Google Maps service and receive a Maps API Key, which you then add to your
459MapView for authentication to the server.</p>
460
461<p>Developers should note that the registration service for MapView is now
462active and Google Maps is actively enforcing the Maps API Key requirement. For
463information about how to register for a Maps API Key, see <a
Scott Main8a4c53a2009-04-24 13:41:44 -0700464href="http://code.google.com/android/add-ons/google-apis/mapkey.html">http://code.google.com/android/add-ons/google-apis/mapkey.html</a>.
465</p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800466
467<p><strong>USB Driver for Windows</strong></p>
468<p>If you using Windows and want to develop or test your application on an
469Android-powered device (such as the T-Mobile G1), you need an appropriate USB
470driver. For your convenience, the Windows version of the Android SDK includes a
471USB driver that you can install, to let you develop on the device. The USB
472driver files are located in the <code>&lt;SDK&gt;/usb_driver</code> directory.
473
474</p>
475
476<h3>Resolved Issues, Changes</h3>
477<ul>
478<li>The android.jar in this SDK release now includes several classes that were
479missing from the previous SDK. </li>
480<li>The android.R.styleable class and its fields were removed from the public
481API, to better ensure forward-compatibility for applications. The constants
482declared in android.R.styleable were platform-specific and subject to arbitrary
483change across versions, so were not suitable for use by applications. You can
484still access the platform's styleable attributes from your resources or code. To
485do so, declare a custom resource element using a
486<code>&lt;declare-styleable&gt;</code> in your project's res/values/R.attrs
487file, then declare the attribute inside. For examples, see
488&lt;sdk&gt;/samples/ApiDemos/res/values/attrs.xml. For more information about
489custom resources, see <a
Scott Main8a4c53a2009-04-24 13:41:44 -0700490href="{@docRoot}guide/topics/resources/available-resources.html#customresources">Custom
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800491Layout Resources</a>. Note that the android.R.styleable documentation is still
492provided in the SDK, but only as a reference of the platform's styleable
493attributes for the various elements.</li>
494<li>The VM now properly ensures that private classes are not
495available to applications through reflection. If you were using reflection
496to access private classes in a previous release, you will now get a run-time
497error. </li>
498
499<li>The Settings and Email applications are now included in the SDK and
500available in the emulator.</li>
501<li>We regret to inform developers that SDK 1.0_r2 does not support MFM, RLL,
502or Winchester hard disk drives.</li>
503<li>In the emulator, the control key for enabling/disabling trackball mode
504is changed from Control-T to F6. You can also enter trackball mode temporarily
505using the Delete key. While the key is pressed, you can send trackball events.</li>
506</ul>
507
508<p>Unless otherwise noted, Known Issues from the previous SDK release also apply
509to this release.</p>
510
511
512
513
514
515
516<h2 id="1.0_r1">Android 1.0 SDK, Release 1</h2>
517
518<p>This SDK release is the first to include the Android 1.0 platform and application API. Applications developed on this SDK will be compatible with mobile devices running the Android 1.0 platform, when such devices are available.</p>
519
Scott Main8a4c53a2009-04-24 13:41:44 -0700520<p>This release includes mainly bug fixes, although some smaller features were added. The Android 1.0 also includes several API changes from the 0.9 version. For those porting from the M5 release, the SDK also includes the legacy changes overview and API Differences Reports. See the current Overview of Changes for more information. </p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800521
522<h3>ADT Plugin Compatibility</h3>
523
Scott Main8a4c53a2009-04-24 13:41:44 -0700524<p>For this version of the SDK &mdash; Android 1.0 SDK, Release 1 &mdash; the compatible version of the Android Development Tools (ADT) Plugin for Eclipse is <strong>0.8.0</strong>. If you are using a previous version of ADT, you should update to the latest version for use with this SDK. For information about how to update your ADT plugin, see <a href="{@docRoot}sdk/1.0_r1/upgrading.html">Upgrading the SDK</a>.</p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800525
526<h3>Installation and Upgrade Notes</h3>
527
Scott Main8a4c53a2009-04-24 13:41:44 -0700528<p>If you've been developing an application using a previous SDK version and you want the application to run on Android-powered mobile devices, you must port the application to the Android 1.0 SDK. Please see <a href="{@docRoot}sdk/1.0_r1/upgrading.html">Upgrading the SDK</a> for detailed instructions on how to make the transition to this release. Be sure to wipe application user data (emulator option <code>-wipe-data</code>) when running your application on the Android 1.0 SDK emulator.</p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800529
Scott Main8a4c53a2009-04-24 13:41:44 -0700530<p>If you're installing the Android SDK for the first time, please see the instructions in <a href="{@docRoot}sdk/1.0_r1/installing.html">Installing the SDK</a>.
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800531
532<h3>Other Notes</h3>
533
534<p><strong>MapView API Key</strong></p>
535
Scott Main8a4c53a2009-04-24 13:41:44 -0700536<p>MapView is a class that lets you easily integrate Google Maps into your application. Before you can access the maps data, you will need to register with the Google Maps service and receive a Maps API Key, which you then add to your MapView for authentication to the server.</p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800537
538<p>Currently, the registration service for MapView is not yet active and Google Maps is not yet enforcing the Maps API Key requirement. However, note that the registration service will be activated soon, so that MapViews in any application deployed to a mobile device will require registration and a valid Maps API Key. </p>
539
Scott Main8a4c53a2009-04-24 13:41:44 -0700540<p>As soon as the registration service becomes available, we will update the page at <a href="http://code.google.com/android/add-ons/google-apis/mapkey.html">http://code.google.com/android/add-ons/google-apis/mapkey.html</a> with details about how and where to register. Please check that page periodically for registration information, if you are using a MapView.</p>
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800541
542
543<h3>Resolved Issues, Changes</h3>
544
545<p><strong>Emulator</strong></p>
546<ul>
547<li>Emulator now saves the user image in &lt;android&gt;/SDK1.0/</code></li>
548<li>Fixed EsounD-related freezes on Linux.</li>
549<li>Fixed the documentation in -help-audio. '-audio list' doesn't work, one
550 needs to call -help-audio-out and -help-audio-in to get the list of valid
551 audio backends.</li>
552<li>Fixed scrollwheel Dpad emulation in rotated mode. before that, using the
553 scroll-wheel would always generated Dpad Up/Down events, even when in
554 landscape mode.</li>
555
556<li>Several Obsolete command options were removed.</li>
557<li>Setting the network speed through the console or the -netspeed option will
558 properly modify the connectivity icon on the device.</li>
559<li>Setting the GSM voice registration state to 'roaming' in the console will
560 properly modify the voice icon on the device</li>
561</ul>
562
563<p><strong>SQLite</strong></p>
564<ul>
565<li>SQLite is now included in the SDK package on all platforms. </li>
566</ul>
567
The Android Open Source Project9066cfe2009-03-03 19:31:44 -0800568<p><strong>Other</strong></p>
569
570<ul>
571<li>It is not possible to send MMS messages between emulator instances. </li>
572<li>In some cases, you may encounter problems when using the browser on an
573emulator started with the command-line option <code>-http-proxy</code>. </li>
574
575<li>We regret to inform developers that Android 1.0 will not include support for
576dot-matrix printers.</li>
577<li>On the OSX platform, if you manually remove the ~/.android directory
578using <code>rm -rf ~/.android</code>, then try to run
579the emulator, it crashes. This happens because the emulator fails to create
580a new .android directory before attempting to create the child SDK1.0 directory.
581To work around this issue, manually create a new .android directory using
582<code>mkdir ~/.android</code>, then run the emulator. The emulator
583creates the SDK1.0 directory and starts normally. </li>
584<li>The final set of Intent patterns honored by Android 1.0 has not yet been
585fully documented. Documentation will be provided in future releases.</li>
586<li>In ADT Editor, you can add at most ten new resource values at a time,
587in a given res/values/*.xml, using the form in the Android Resources pane.
588If you add more than ten, the Android Resources pane will not display the
589attributes fields for the additional resource entries. To work around this
590problem, you can close the file in the editor and open it again, or you
591can edit the resource entries in the XML text mode. </li>
592<li>The emulator's battery-control commands (<code>power &lt;option&gt</code>)
593are not working in this release.</li>
594
595</ul>
596