Code example for SurfaceHolder

Methods: getSurfaceFrame, lockCanvas, unlockCanvasAndPost