Exemplo n.º 1
0
        public void SurfaceCreated(ISurfaceHolder holder)
        {
            hldr       = holder;
            global_cam = this;

            /*
             * mCamera = Android.Hardware.Camera.Open(1);
             * try
             * {
             *  mCamera.SetPreviewDisplay(holder);
             *  mCamera.SetPreviewCallback(this);
             *  mCamera.StartPreview();
             * }
             * catch (Exception)
             * {
             * }
             */
        }
Exemplo n.º 2
0
 public void SurfaceCreated(ISurfaceHolder holder)
 {
     hldr       = holder;
     global_cam = this;
 }