android media player is not playing audio file from url which has space or special character
<p>i am trying to make media player for audio file.</p>

<p>when i play a file which has space or special character like this </p>

<pre><code>[str=**http://192.168.1.214/MusicApplication/Songs/Baek Chan &amp; Joo Hee of 8eight.mp3**;]
</code></pre>

<p>using </p>

<pre><code>    mediaPlayer=new MediaPlayer();
    mediaPlayer.setDataSource(str);
    mediaPlayer.prepare();
</code></pre>

<p>media player does not play file. </p>

<p>if i use this type of <code>url:- str=**http://192.168.1.214/MusicApplication/Songs/Baek.mp3**;</code></p>

<p>it works properly. please tell me what should i do to solve this type of problem.</p>

<p>Thank you in advance.</p>
