00:00
40
Part of my Game Demos project, available at github.com/eburke/android_game_examples/tree/master
This shows a ball that reacts to gravity. The phone's accelerometer provides the gravity reading, and the ball bounces around the screen. You rotate the phone to control where the ball goes.