O'Reilly logo

Beginning Android Tablet Games Programming by Jeremy Kerfs

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

Understanding Tablet Input Options

To understand your options, you need to know what tablets offer in terms of gathering data about the user’s actions. Following is a fairly comprehensive list of the sensors that exist in many tablets. Some tablets don’t have all of these, whereas others have additional ones:

  • Touchscreen: Most tablets have a multitouch interface that lets you use input from several fingers on the screen at one time. The accurate screens now let you create very small sprites and still enable the user to drag them around due to the screens’ precision. For the majority of games, this is the method of user control. Nearly every game needs this for its menus at the very least.
  • Microphone: Tablets running Android 3.0 often have a ...

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