Latest in branch Android 1.5
1.5
Released 27 Apr 2009
(17 years ago)
SoftwareAndroid OS
VersionAndroid 1.5
CodenameCupcake
API level3
Initial release1.5
27 Apr 2009
(17 years ago)
Latest release1.5
27 Apr 2009
(17 years ago)
Security supportNo
Android OS Android 1.5 ReleasesView full list

What Is New in Android 1.5

Category Key Updates
New Features On-screen soft keyboard, Live Folders, Video recording, Speech recognition
UI & UX Home screen widgets, Animated window transitions, New launcher
Platform & APIs App Widget framework, LocationManager, Sensor APIs, ContentLoader
Development Tools Updated ADT plugin, Emulator skins for different resolutions

How did Android 1.5 improve the user interface?

Android 1.5 (Cupcake) introduced major UI enhancements that made the platform feel more dynamic and customizable. The addition of an on-screen soft keyboard was a game-changer, freeing devices from the need for a physical keyboard. This opened up new form factors for manufacturers.

Live Folders and Home screen widgets brought information to the forefront. Users could now see live data, like recent emails or contacts, right on their home screen without opening an app. The new window transition animations also made the UI feel smoother and more polished.

What new developer APIs were introduced?

The App Widget framework was the headline API addition, allowing developers to create the new home screen widgets. This required a new AppWidgetProvider class and metadata defined in an XML file. In practice, this meant thinking about how to expose key app functionality in a small, at-a-glance view.

Other significant APIs included the SensorManager for accessing accelerometer data and the SpeechRecognizer for adding voice input to apps. The ContentLoader API also made it easier to load data asynchronously without blocking the UI thread, a common pain point for developers.

How did media capabilities get enhanced?

Video recording and playback were finally baked into the core OS. Before this, handling video was a hacky process. Developers could now use standard Intents to record video or build custom recording interfaces.

The platform also added support for uploading videos to YouTube and pictures to Picasa directly. This mattered because it integrated the device's media creation with cloud services seamlessly, a feature users quickly came to expect.

FAQ

How do I create a home screen widget in Android 1.5?
You need to create a class that extends AppWidgetProvider and define its properties in an XML file in your project's res/xml/ directory. This provider will receive broadcast intents for updates.

Can I use the soft keyboard in my own app?
Yes. The Input Method Framework (IMF) allows you to control the soft keyboard's visibility. You can use InputMethodManager to show or hide it programmatically in response to user actions.

Is the speech recognition API available to all apps?
Yes, the SpeechRecognizer API is available for third-party apps to use. It initiates a recognition intent that returns a list of possible matches to what the user said.

What sensor data can I access?
The primary sensor API added was for the accelerometer, allowing you to detect device movement and orientation. This opened the door for tilt-based games and other motion-aware applications.

How do I make my activities use the new animations?
The new window animations are applied by default by the system. For custom transitions between your activities, you can override the default animations using the overridePendingTransition() method.

Releases In Branch Android 1.5

VersionRelease date
1.527 Apr 2009
(17 years ago)