A phonegap accelerometer testing ground