I am creating a video recorder and would like to create video player to preview the recorded videos. Modifying the code from this page I have created a MediaPreview class th
Off the cuff, I think you need some more logic in some of your callback methods, like surfaceCreated().
surfaceCreated()
You need to attach the surface to the played after the surface is created.
call
mp.setDisplay(mPreview.getHolder());
from inside
public void surfaceCreated(SurfaceHolder holder)