title: android MediaPlayer to play online(external) audio
body: <p>I use this code to play online mp3 audio when I click on button but it doesn't work.</p>
  
  <pre><code>public void play(View v) throws IllegalStateException, IOException{ 
      MediaPlayer em2 =MediaPlayer.create(this, Uri.parse("https://ia801005.us.archive.org/22/items/sslamweb.blogspot.com_201308/Maher%20Zain%20-%20Hold%20My%20Hand%20-%20Official%20Lyrics%20Video.mp3"));
      em2.setAudioStreamType(AudioManager.STREAM_MUSIC);  
      em2.prepare();
      em2.start();        
  }
  </code></pre>