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

Responding to Gestures

To do all this magic, you need to become very friendly with the Gesture class in the Android SDK. Before you work with it in your code, let’s play around with gestures in a sample program created by the Android development team. You can access this app within the simulator: it’s called GestureBuilder. Before you do that, though, you have to make some changes to the simulator:

  1. GestureBuilder writes files to a tablet’s SD card. If your simulator doesn’t have this, you can add it easily. Choose Window images Android SDK and AVD Manager.
  2. Click the tablet device, and click the Edit button at left on the screen. A dialog box pops up ...

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