title: How to Play MID file in Android?
body: <p>I am writing a small piece of code </p>
  
  <pre><code>MediaPlayer mediaPlayer = new MediaPlayer();
  mediaPlayer.setDataSource("http://..../file.mid");
  mediaPlayer.prepare();
  mediaPlayer.start();
  </code></pre>
  
  <p>which is not working, where as </p>
  
  <pre><code>MediaPlayer mediaPlayer = new MediaPlayer();
  mediaPlayer.setDataSource("http://..../file.mp3");
  mediaPlayer.prepare();
  mediaPlayer.start();
  </code></pre>
  
  <p>is working fine. </p>