API Level: 15
Android 4.0.3 is an incremental release of the Android 4.x
(Ice Cream Sandwich) platform family. This release includes new features for
users and developers, API changes, and various bug fixes.
For developers, the Android 4.0.3 platform is available as a
downloadable component for the Android SDK. The downloadable platform includes
an Android library and system image, as well as a set of emulator skins and
more. To get started developing or testing against Android 4.0.3,
use the Android SDK Manager to download the platform into your SDK.
API Overview
The sections below provide a technical overview of new APIs in Android 4.0.3.
Social stream API in Contacts Provider
Applications that use social stream data such as status updates and check-ins
can now sync that data with each of the user’s contacts, providing items in a
stream along with photos for each.
The database table that contains an individual contact’s social stream is
defined by
To read or write social stream items for a contact, an application must
request permission from the user by declaring
android:name="android.permission.READ_SOCIAL_STREAM"> and/or
android:name="android.permission.WRITE_SOCIAL_STREAM"> in their manifest files.
Calendar Provider
Adds the class Calendar
Provider. The class provides fields for accessing
colors available for a given account. Colors are referenced by
Adds
Home screen widgets
Starting from Android 4.0, home screen widgets should no longer include their
own padding. Instead, the system now automatically adds padding for each widget,
based the characteristics of the current screen. This leads to a more uniform,
consistent presentation of widgets in a grid. To assist applications that host
home screen widgets, the platform provides a new method
Spell-checking
For apps that accessing spell-checker services, a new
For spell-checker services, a new suggestions flag,
Apps connected to the spell-checker can use the
A new
Bluetooth
New public methods
UI toolkit
New methods
Graphics
New method
Accessibility
Clients of
The methods
When touch-exploration mode is enabled, a new secure setting
Text-to-speech
Adds the new method
Adds a new listener class,
Database
A new
The
The
Intents
Adds new categories for targeting common types of applications on the
device, such as
Camera
Permissions
The following are new permissions:
For a detailed view of all API changes in Android 4.0.3 (API Level
15), see the API Differences Report.
API Level
The Android 4.0.3 API is assigned an integer
identifier—15—that is stored in the system itself.
This identifier, called the "API level", allows the system to correctly determine whether an
application is compatible with the system, prior to installing the application.
To use APIs introduced in Android 4.0.3 in your application, you need compile the
application against an Android platform that supports API level 15 or
higher. Depending on your needs, you might also need to add an
android:minSdkVersion="15" attribute to the
element.
For more information, see the API Levels
document.