Create Fun, Interactive Screensavers for Android Using DreamService

Android 4.2 includes many new features including an interactive screensaver mode called Daydream. The Daydream feature combines the concepts of live wallpapers and screen widgets into one interactive screensaver that is displayed when a user's Android device is idle or charging.

DayDream Example

Example of the Google Currents Daydream -- Image Credit: Google Android Developers Blog

Using the DreamService API, Android app developers can provide users additional expressions for their applications by creating accompanying daydreams that can help to draw in app users. Daydreams are capable of playing audio, video, accepting touchscreen input, and allow users to jump directly into an application.

The Android Developers Blog post uses Google Currents as an example of using daydreams to show off an application, similar to a video game attract mode. The Google Currents daydream displays visually appealing stories in a sliding wall.

Developers can also create classic style screensavers using the DreamService API, such as bouncing logos or other graphic objects.

Another DayDream Example

Screenshot of a classic style screen saver, the bouncing logo -- Image Credit: Google Android Developers Blog

Developers interested in creating fun, interactive screensavers for their Android applications can learn more about the DreamService API by reviewing the Android Developers Reference, DreamService section.

Developers will also need to download the latest version of the Android SDK.

Be sure to read the next API article: Facebook Launches Flexible Sentences Feature to Help Create Better Open Graph Stories