Box 2D Accelerometer Demo Code
by: John A Casey • 2
This is a technical demonstration of how to use JBox 2D and Android's SurfaceView. Most of the other demos that I have looked at render using OpenGL so this is something a little different. Place boxes by tapping the screen. The number of boxes is currently unlimited but if you place too the application will slow down. Tilt your device to change the acceleration of your Box2D world.
This application is not a game.