Example use acelerometer in android