title: How to get buffering percent of VideoView on Android
body: <p>My code as below:  </p>
  
  <pre><code>Uri uri = Uri.parse(URL);
  video.setVideoURI(uri);
  video.start();
  </code></pre>
  
  <p>I use VideoView to play a stream video.<br>
  The video is a VideoView.<br>
  And I want to get the buffering percent like setOnBufferingUpdateListener in MediaPlayer.  </p>
  
  <pre><code>MediaPlayer.setOnBufferingUpdateListener(new OnBufferingUpdateListener() {
      @Override
      public void onBufferingUpdate(MediaPlayer mp, int percent) {
          //buffering is percent
      }
  });
  </code></pre>
  
  <p>How can I do it?  </p>