FileNotFoundException when getting Inputstream from a video URL
<p>I have a problem as I am posting a video to Facebook from our Android App. But I can't because when I want to get InputStream from a video URL, it is showing FileNotFound Exception while the same url is running on browser and it has no any space character.
Please suggest me any solution regarding the same.</p>

<p><strong>Code:</strong></p>

<pre><code>AsyncFacebookRunner mAsyncRunner = new AsyncFacebookRunner(mFacebook);
     InputStream is = null;
        try {
       // is = new FileInputStream(dataPath);
            u = new URL((videoDetails.getVideoPath()).replaceAll("_a_", "_i_"));
            c = (HttpURLConnection) u.openConnection();
            c.setReadTimeout(10000 /* milliseconds */);
            c.setConnectTimeout(15000 /* milliseconds */);
            //con.setRequestMethod("GET");
            c.setRequestMethod("GET");

            c.setDoOutput(true);
            c.addRequestProperty("Referer", "http://blog.dahanne.net");
            c.connect();
            is = c.getInputStream();//Error Position
        data = readBytes(is);
        param = new Bundle();
        param.putString(Facebook.TOKEN, mFacebook.getAccessToken());              
        param.putString("filename", dataName);
        param.putString("message", dataMsg);
                param.putString("mimeType", "video/3GP");

        param.putByteArray("video", data);
        mAsyncRunner.request("me/videos", param, "POST", new fbRequestListener(), null);
        c.disconnect();
</code></pre>

<p><strong>Error:</strong></p>

<pre><code>11-28 05:10:24.027: W/System.err(15326): java.io.FileNotFoundException: No content provider: http://dev.irantnow.com/webservice/videos/1353007673_a_gregtz100.mp4
11-28 05:10:24.027: W/System.err(15326):    at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:608)
11-28 05:10:24.027: W/System.err(15326):    at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:540)
11-28 05:10:24.027: W/System.err(15326):    at android.content.ContentResolver.openInputStream(ContentResolver.java:375)
11-28 05:10:24.027: W/System.err(15326):    at com.irantapps.VideoDetails.postToFacebook(VideoDetails.java:1895)
11-28 05:10:24.027: W/System.err(15326):    at com.irantapps.VideoDetails.access$0(VideoDetails.java:1881)
11-28 05:10:24.027: W/System.err(15326):    at com.irantapps.VideoDetails$LoginDialogListener.onComplete(VideoDetails.java:1813)
11-28 05:10:24.027: W/System.err(15326):    at com.facebook.android.Facebook$1.onComplete(Facebook.java:308)
11-28 05:10:24.027: W/System.err(15326):    at com.facebook.android.FbDialog$FbWebViewClient.shouldOverrideUrlLoading(FbDialog.java:132)
11-28 05:10:24.027: W/System.err(15326):    at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:268)
11-28 05:10:24.027: W/System.err(15326):    at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:383)
11-28 05:10:24.027: W/System.err(15326):    at android.os.Handler.dispatchMessage(Handler.java:99)
11-28 05:10:24.027: W/System.err(15326):    at android.os.Looper.loop(Looper.java:154)
11-28 05:10:24.027: W/System.err(15326):    at android.app.ActivityThread.main(ActivityThread.java:4945)
11-28 05:10:24.027: W/System.err(15326):    at java.lang.reflect.Method.invokeNative(Native Method)
11-28 05:10:24.037: W/System.err(15326):    at java.lang.reflect.Method.invoke(Method.java:511)
11-28 05:10:24.037: W/System.err(15326):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
11-28 05:10:24.037: W/System.err(15326):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
11-28 05:10:24.037: W/System.err(15326):    at dalvik.system.NativeStart.main(Native Method)
</code></pre>

<p>Thanks in advance.</p>
