Phonegap accelerometer example - based on the phonegap documentation.     INTE213