Merge "Sample code to illustrate how to use the accelerometer" into gingerbread