Android for Game Developers
Android’s application framework is vast and can be 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 Chapter 3, 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 ...