title: Seek Bar Does not move with audio track running. Unable to debug
body: <p>Followed a Youtube tutorial. But my seek bar does not move with the audio. I have added the handler and also a runnable to according to the tutorial. Am i misssing something</p>
  
  <pre><code>private MediaPlayer music;
  Handler handler;
  Runnable runnable;
  SeekBar seek;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      handler = new Handler();
      Button play = (Button) findViewById(R.id.play);
      Button pause = (Button) findViewById(R.id.pause);
      music = MediaPlayer.create(this, R.raw.gnr_sweet);
      seek = (SeekBar)  findViewById(R.id.seekBar);
      seek.setMax(music.getDuration());
      playCycle();
      seek.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
          @Override
          public void onProgressChanged(SeekBar seekBar, int progress, boolean userinput) {
              if(userinput){
                  music.seekTo(progress);
              }
          }
  
          @Override
          public void onStartTrackingTouch(SeekBar seekBar) {
  
          }
  
          @Override
          public void onStopTrackingTouch(SeekBar seekBar) {
  
          }
      });
  }
  public void playCycle(){
      seek.setProgress(music.getCurrentPosition());
      if(music.isPlaying()){
          runnable= new Runnable() {
              @Override
              public void run() {
                  playCycle();
              }
          };
          handler.postDelayed(runnable, 1000);
      }
  }
  </code></pre>
  
  <p>I am a little new to android dev so any sort of input can be useful.
  Am i missing something at the playCycle() method ?
  There is a clicklistener for play pause button as well, I had just removed it from the code snippet for clean code for stackoverflow</p>