Code example for SurfaceHolder

Methods: getSurfaceFrame, lockCanvas, setFormat, unlockCanvasAndPost