Code example for SurfaceHolder

Methods: addCallback, getSurfaceFrame, lockCanvas, unlockCanvasAndPost