How to write code for Next and Previous Buttons in Media controler in android
<p>Hello Friends i am using Media controler in my code and i am including below code but can any body tell me what should i write inside this methods so i can play next and previous songs in media player .</p>

<pre><code>        mediaController.setPrevNextListeners(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                //next button clicked

                  myVideoView.setVideoPath(filename);
              }
            }, new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                //previous button clicked
              }
            });
</code></pre>
