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 live online training, plus books, videos, and digital content from nearly 200 publishers.