title: Get bitmap of videoview
body: <p>Is there a way to take a screenshot of a video playing in video view. I searched on the forum but could not get the required info. I tried with </p>
  
  <pre><code> Bitmap bitmap = Bitmap.createBitmap(this.view.getWidth(), this.view.getHeight(), Config.ARGB_8888);
              Canvas canvas = new Canvas(bitmap);
              view.draw(canvas);
  </code></pre>
  
  <p>and</p>
  
  <pre><code>mCustomVideoView.setDrawingCacheEnabled(true);
  Bitmap videoView = mCustomVideoView.getDrawingCache(false);
  </code></pre>
  
  <p>But none of these methods were helpful.</p>