Create Fun, Interactive Screensavers for Android Using DreamService

Janet Wagner, Data Journalist / Full Stack Developer
Jan. 03 2013, 11:00AM EST

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.

Janet Wagner Janet is a data journalist and full stack developer based in Toledo, Ohio. Her focus revolves around APIs, open data, data visualization and data-driven journalism. Follow her on Twitter: @webcodepro and on Google+

Comments

User HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.