Getting a frame from SurfaceView
问题 The difficulty I am having now is to take a screenshot of the SurfaceView. Could anyone please help? My team is doing an Android project where we use MediaCodec to decode the video feed and render the feed onto a Surface. The activity implements SurfaceHolder.Callback Then we created a SurfaceView and add the Callback: mySurfaveView.getHolder().addCallback(this); Then we start decode the video feed in (we have a method that does the decode) surfaceChanged(SurfaceHolder holder, int format, int