O'Reilly logo

Beginning Android Games by Mario Zechner

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 4. Android for Game Developers

Android's application framework is vast and confusing at times. For every possible task you could think of, there's an API you can use. Of course, you have to learn the APIs first. Luckily for us game developers, we only need an extremely limited set of these APIs. All we want is a window with a single UI component to draw to and receive input from, as well as the ability to play back audio. This covers all our needs to implement the game framework we designed in the last chapter in a rather platform-agnostic way.

In this chapter you'll learn the bare minimum of Android's APIs to make Mr. Nom a reality. You'll be surprised how little you actually need to know about those APIs to achieve that goal. Let's recall ...

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