Android加速度传感器的用法实例,   privateSensorListenermySensorListener=newSensorListener(){    @Override    publicvoidonAccuracyChanged(intsensor,intaccuracy){} //重写onAccuracyChanged方法    @Override    publicvoidonSensorChanged(intsensor,float[]values){ //重写onSensorChanged方法    if(sensor==