TechnoTalkative DayDream Example

Android 4.2 – DayDream part 2 – How to create DayDream?

This article is extension of my previous article about DayDream: What exactly DayDream feature is about?. Now i assume you understood about DayDream, so now i am proceeding further for developing a small example of DayDream.

Step 1: Create a sample project to build this demo example

I have created a simple project to give this demo, you can follow below steps to create DayDream for your Android application.

Android – DayDream part 1

Android – DayDream part 1

This feature is come up with Android 4.2 JellyBean. Hope you got 4.2 update in your device. I can explore such features in Nexus 7.

Now, What exactly DayDream feature is about?

Android - DayDream
Android – DayDream
Daydream is an interactive screensaver mode that starts when a user’s device is docked or charging. In this mode, the system launches a daydream – a remote content service provided by an installed app – as the device screensaver.

A user can enable Daydream from the Settings -> Display -> DayDream and then choose the daydream to display.

Daydreams combine the best capabilities of live wallpapers and home screen widgets, but they are more powerful. They let you offer the any kind of content in a completely new context, with user interactions such as flipping through photos, playing audio or video, or jumping straight into your app with a single touch.

Because daydreams can start automatically when a device is charging or docked, they also give your app a great way to support new types of user experiences, such as leanback or exhibition mode, demo or kiosk mode, and “attract mode” – all without requiring special hardware.