Beispiel #1
0
  @Override
  public synchronized void onPauseGame() {
    // TODO Auto-generated method stub

    super.onPauseGame();
    if (StartActivity.mMusic.isPlaying()) {
      StartActivity.mMusic.pause();
    }
  }
 @Override
 public void onPauseGame() {
   super.onPauseGame();
   this.disableAccelerationSensor();
 }