Managing Inputs

Now that we have learned how to run a program on the Android Emulator, it is time for us to do some more cool stuff, which will equip us with the knowledge required to make our game. In this chapter, we will continue with XML files and will step into the territory of taking user inputs. In a gist, we will be learning the following:

  • Exploring different types of XML files and the resource folder further
  • Creating buttons and linking them to take inputs
  • Working with accelerometer readings
  • Mobile touch inputs

So, let's get started.

Get Learning Android Game 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.