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
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)