O'Reilly logo

Android 3.0 Animations by Alex Shaw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action—making our first live wallpaper

Remember the bubbles animation that we made in the previous chapter? We made a programmatic animation where we drew bubbles onto the screen. In this chapter, we will take that animation and make it into a live wallpaper for your device.

We will go through all the stages required to get a live wallpaper animation appearing on your device's Android home screen.

  1. Create a new Android project with the following settings:
    • Project name:BubblesWallpaper
    • Build Target:Android 3.0
    • Application name:BubblesWallpaper
    • Package name:com.packt.animation.bubbleswallpaper
    • Do not specify a default activity

    Note

    You may be wondering why we are not specifying the default activity. It's because a live wallpaper is not an activity ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required