how to take snapshot of mjpeg stream displayed in requestwindowfeature in android
<p>i want to take a snapshot of mjpeg stream that is displayed in a requestwindowfeature in android. can anyone help me how i can do this.</p>

<p>i use the following to display the mjpeg stream. (its just a small part)
whereas i use mjpegsamplecgi.java , mjpegInputstream.java and MjpegView.java</p>

<pre><code>    requestWindowFeature(Window.FEATURE_NO_TITLE);
    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
                         WindowManager.LayoutParams.FLAG_FULLSCREEN);
    mv = new MjpegView(this);
    setContentView(mv);        
    mv.setSource(MjpegInputStream.read(URL));
    mv.setDisplayMode(MjpegView.SIZE_BEST_FIT);
    mv.showFps(true);  
</code></pre>
