Androids Do Daydream
summary
Android 4.2 adds Daydream: a screen‑saver framework where apps extend DreamService, override onDreamingStarted/onDreamingStopped, call setContentView and declare an intent‑filter android.service.dreams.DreamService. Developers get the full UI toolkit, touch (use setInteractive(false) to auto‑dismiss), TimeAnimator for continuous v‑synced animation, and hardware layers with Porter‑Duff compositing for sprites. Daydream runs when docked or charging, won’t start over active wake locks, and includes safety shutoffs for low battery; Flipboard reports ~50% of Daydream sessions lead to an app launch.
AI-written summary · about
chapters (34)
- 0:00Introduction
- 0:15System UI
- 0:56Daydream
- 1:36Dock Apps
- 5:48Daydream API
- 8:37Step 1 Extend Dream Service
- 9:07Why not just make an activity
- 10:03Features of Daydream
- 12:29Do this instead
- 12:43Free to be experimental
- 13:13Build a simple daydream
- 14:00Jumper class
- 15:15Dream Service
- 16:04Animations
- 17:15More Views
- 18:43Continuous animations
- 22:19Interaction
- 23:33Daydream Settings
- 24:09Daydream Activity
- 25:00Live Wallpaper
- 25:52OpenGL
- 26:26Prevent Daydream
- 26:54Clock
- 27:04Magic Clock
- 27:31Text Clock
- 27:49Blink
- 28:34Google Currents
- 29:36Beautiful Widget
- 31:03Flipboard
- 31:30Wrap Up
- 32:24Thank You
- 33:24Fragments
- 34:19Play Store
- 37:43Battery Charging
related talks
44mEmbedded Android #4 - Using and Customizing the Android Framework
28mBuilding for the Future of Android
46mOpening Keynote: Android Then & Now
35mBuild apps for foldable, multi-display, and large-screen devices
01h 01mAn Android Retrospective
30mApp Standby vs. Doze: Understanding System Sleep
32mAndroid Auto: Rolling Droid gather no moss (en)
47mDual-Screen & Multi-Posture: Let’s Rethink Mobile Apps
