mp4 video is not working
<p>My android application requires streaming video (mp4). But when I tried with different formats it worked successfully with .3gp file.I also tried by converting the mp4 file into .3gp format using free video to android converter.The converted files are also not working. what may be the reason?
I am using Android SDK 2.2</p>

<pre><code>public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

  String str="http://172.16.0.11:8080/TestingVideo/videos/famous.3gp";

    setContentView(R.layout.main);

    VideoView vd=(VideoView)findViewById(R.id.videoView1);
    MediaController mc=new MediaController(this);       
    mc.setAnchorView(vd);
    mc.setMediaPlayer(vd);
    Uri uri=Uri.parse(str);
    vd.setMediaController(mc);
    vd.setVideoURI(uri);
    vd.start();
}
</code></pre>

<p>}</p>

<p>With Thanks and Regards,
Vidhu</p>
