O'Reilly logo

OpenGL ES 2 for Android by Kevin Brothaler

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

Chapter 14Creating a Live Wallpaper

Ever since the early days of Android, users have been able to replace their device’s home screen background with a live wallpaper, a special type of application that can draw a dynamic and animated background. These live wallpapers have proven to be quite popular, with many of them going into the millions of downloads! In this chapter, you’ll learn how to implement your own live wallpaper using OpenGL and the same GLSurfaceView that we’ve been using to date.

Let’s take a look at our live wallpaper game plan:

  • We’ll first learn how to wrap our lighting project from the last chapter with a live wallpaper service and a customized GLSurfaceView.

  • We’ll then learn how to optimize the performance and battery usage. ...

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