}
protected void notifyAccelerometerListeners() {
for (int i = 0; i < accelerometerListeners.size(); i++) {
((AccelerometerListener) accelerometerListeners.elementAt(i))
.didReceiveAcceleration(new AccelerometerEvent(this,
AccelerometerEvent.NEW_DATA,
getState("Acceleration")));
}
}