Chapter 4

Android for Game Developers

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

In this chapter, you'll learn the bare minimum number of Android APIs that you need to make Mr. Nom a reality. You'll be surprised at how little you actually need ...

Get Beginning Android 4 Games Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.