title: How to stream video in Android Emulator?
body: <p>I am newbie in Android, and  I tried a lot with my code to stream video in emulator, but I am getting exception <code>"Sorry The application Hellovideodemo(...) has stopped unexpectly</code>. </p>
  
  <p>Here is the code:</p>
  
  <pre><code> public class HelloVideoDemo extends Activity {
  
      @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
  
      setContentView(R.layout.main);
  
      VideoView videoView = (VideoView) findViewById(R.id.VideoView);
      MediaController mediaController = new MediaController(this);
      mediaController.setAnchorView(videoView);
      // Set video link (mp4 format )
      Uri video = Uri
              .parse("http://dev2010.excoflare.com/zencart/abhishek/BlackBerry_Social_Meeting/av/testing.mp4");
      videoView.setMediaController(mediaController);
      videoView.setVideoURI(video);
      videoView.start();
  
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Any help will really be appreciated. Thanks.</p>