Android Download file from Link
<p>I am trying to download file from one android mobile to other via Ip+port.
i can sucessfully download file from other mobile if i write the url in Web Browser of mobile.
the URL is like this</p>

<pre><code>      http://172.20.99.238:9999/file/3/001_01.mp3
</code></pre>

<p>but i am unable to download this file via code</p>

<pre><code>                    String downLoadLink = "http:/"+url+":9999/file/"+fileID+"/"+fileName;
            //downLoadLink = downLoadLink.replace(" ", "");
            Intent downloadIntent = new Intent(Intent.ACTION_VIEW);
            downloadIntent.setData(Uri.parse(downLoadLink));
            startActivity(downloadIntent);
</code></pre>

<p>Any Solution of this Problem</p>
