Failure to use accelerometer with HTML and JavaScript in the phonegap

view story

http://stackoverflow.com – I wonder why things go wrong is the application that I'm doing? He did not start playing when I shake the phone. I followed the instructions on this site, http://software.intel.com/pt-br/articles/create-handbell-using-html5-and..., but I do not quite understand how it works. Here is the code: <!DOCTYPE HTML> <html> <head> <meta name="viewport" content="width=320; user-scalable=no" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>BellShapes</title> <script type="text/javascript" charset="utf-8" src="cordova (HowTos)