¡@

Home 

java Programming Glossary: surfaceholder

Full screen videoview without stretching the video

http://stackoverflow.com/questions/12211837/full-screen-videoview-without-stretching-the-video

private static final String TAG VideoPlayer private SurfaceHolder holder private ProgressBar progressBarWait private ImageView.. holder.addCallback this holder.setType SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS player new MediaPlayer player.setOnPreparedListener.. .show finish public void surfaceChanged SurfaceHolder holder int format int width int height TODO Auto generated method..

Android - How can I wake up the phone from a hard sleep to take a picture?

http://stackoverflow.com/questions/5215367/android-how-can-i-wake-up-the-phone-from-a-hard-sleep-to-take-a-picture

the camera preview surface. Once the surface is setup the SurfaceHolder listener's surfaceChanged method is called which finally takes..

Drawing to a SurfaceView in Android

http://stackoverflow.com/questions/6690898/drawing-to-a-surfaceview-in-android

class SurfaceRenderer extends ViewGroup implements SurfaceHolder.Callback private final String TAG Svetlin Surface Renderer SurfaceView.. TAG Svetlin Surface Renderer SurfaceView mSurfaceView SurfaceHolder mHolder public SurfaceRenderer Context context super context.. new SurfaceView context addView mSurfaceView Install a SurfaceHolder.Callback so we get notified when the underlying surface is created..

Android Camera will not work. startPreview fails

http://stackoverflow.com/questions/7942378/android-camera-will-not-work-startpreview-fails

class CameraSurfaceView extends SurfaceView implements SurfaceHolder.Callback PreviewCallback private Camera camera Camera.Size use_size.. public CameraSurfaceView Context context super context SurfaceHolder holder getHolder holder.addCallback this Debug.out Init CSV.. Init CSV camera Camera.open public void surfaceCreated SurfaceHolder holder Debug.out SC try camera.setPreviewDisplay holder catch..

Video processing in Android

http://stackoverflow.com/questions/8620560/video-processing-in-android

and unlockCanvasAndPost methods available from the SurfaceHolder that view contains. If this is all you are wanting to do you..