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.
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
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.
Capturing photo of the screen and showing it to friend/client/fans for the some purpose like Requirement understanding, explaining about some screens, screen designs or any else. Actually i was surprised about to capture screens for my one of the article i supposed write today, i wasn’t knowing how to capture screenshot, so i have explored web and got to know the tricks but simple step. Its as easy as capturing screenshot in Samsung Galaxy S, Galaxy Nexus.
I just updated my ADT with 21.0.0 and i got to see new feature available in Android Virtual Device Manager window, going to explore it here. One of the interesting moment for me is its not well documented yet on Developer.Android.com other than ADT Plugin 21.0.0, here they have only included only about the changes they included in AVD Manager window.
Yeh....You are listening right TechnoTalkative is 1 year old now, its hosted on the same day a year back. During the span of 1 year, i have written 53 useful…
Yesterday, Android developers has published new training class for Adding Animations in Android app, which quickly gets you up to speed on implementing common animations and transitions in your app with the new-ish android.animation APIs.
It covers basics like crossfades (dissolves), screen slides with ViewPager, card flips, zooms (although nothing on API 16 ActivityOptions yet), and automatic layout change animations.