openframeworks/openFrameworks — pull request #1789 by thiagohersan (2013-01-04 07:52:43+00:00)
Title: android accelerometer example

There's some accelerometer code tucked away in the androidTouchExample... but this might be more intuitive to find.

Very simple: just draws vertical and horizontal lines whose lengths are proportional to the force of gravity in the x and y directions.

Tested on android 2.3.4.