public void onProgressChanged(
            final SeekBar bar, final int progress, final boolean fromuser) {
          if (!fromuser && !mManualDragging) {
            // We're not interested in programmatically generated changes to
            // the progress bar's position.
            return;
          }

          long duration = mFensterPlayer.getDuration();
          long newposition = (duration * progress) / 1000L;
          mFensterPlayer.seekTo((int) newposition);
          if (mCurrentTime != null) {
            mCurrentTime.setText(stringForTime((int) newposition));
          }
        }