Overview of Changes, Android 0.9 to Android 1.0 SDK
This document provides information to help you port your applications from Android 0.9 SDK to Android 1.0 SDK. It describes new features available to your application, as well as API changes that you may need to integrate into your code. For detailed information about API additions, removals, and changes, see the API Diffs report.
Note that this document (and the associated API Diffs Report) covers only the changes from Android 0.9 SDK to Android 1.0 SDK. For your convenience, this SDK includes legacy documentation of changes from the M5 release to Android 0.9 SDK. For more information, see Overview of Changes, M5 to Android 0.9 and API Diffs Report, M5 to Android 0.9.
If your application is based on an early-look SDK such as release M3, you may want to refer to the documentation in the M5 SDK for information about migrating to that release, as a base from which to migrate to 0.9 or directly to 1.0.
Content provider
Device hardware
Maps
- ItemizedOverlay adds new methods for managing overlays.
- Class MyLocationOverlay adds new methods to determine whether compass is displayed on the MapView and to receive notification of sensor accuracy change.
Media
- New methods for loading and unloading sound effects in AudioManager.
- Class MediaMetadataRetriever is not supported in this release.
- Method android.media.MediaPlayer.getFrameAt() is not supported in this release.
Network
- android.net.wifi includes new classes for keeping the wi-fi radio awake and recognizing pairwise cyphers for WPA. Several changes to fields and methods in other classes.
- org.apache.http.impl classes moved from internal to public API.
Package manager
- Methods for deleting user data and cache were removed from PackageManager.
Text input
Test
- New classes and interfaces to android.test, for setting up a test environment including instrumentation, unit tests, and test suites.
- Adds junit.runner package
- Adds android.test.mock package with utility classes for providing stubs or mocks of various Android framework building blocks.
- Adds android.test.suitebuilder package with utility classes fro supporting test runner classes.
Views
- Adds several new XML attributes for View objects.
- Adds support for sound effects.
- You can now listen for changes in the accuracy of sensors.
- WebView adds a new transport object for moving a WebView across process boundaries.
- WebView adds methods for managing scrollbar overlays.
XML
- org.xmlpull.v1 classes were moved to the public API for developer convenience.
Widgets