title: android- videoview is not showing video
body: <p>i want to show a video on videoView . I've already converted my video to a H.264 mp4 video . this is my code :</p>
  
  <pre><code>final VideoView videoView = (VideoView)dialog.findViewById(R.id.vide);
                      String _uri="http://192.168.1.108/video/1/"+vid[position];
                  Log.v("this", _uri);
                  progressDialog = new ProgressDialog(context);
                  progressDialog.setMessage("Loading...");
                  progressDialog.setCancelable(false);
                  progressDialog.show();
                  MediaController mediaController= new MediaController(context);
                  videoView.setMediaController(mediaController);
  
                  try{
                      videoView.setMediaController(mediaController);
                      videoView.setVideoURI(Uri.parse(_uri));
  
                  } catch (Exception e) {
                      e.printStackTrace();
                      Log.v("this",e.getMessage());
                  }
  
                  videoView.requestFocus();
                  videoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {
  
                      public void onPrepared(MediaPlayer arg0) {
                          progressDialog.dismiss();
                          videoView.start();
                      }
                  });
  </code></pre>
  
  <p>in the log , I get the video url and I've tested it , it's correct . 
  Why it doesn't show the video ? How can I get the videoView error because I don't get any error and it doesn't play  the video either . </p>