コード例 #1
0
 public void stopCamera() {
   if (camera != null) {
     preview.stopCameraPreview();
     preview.setCamera(null, null);
     camera.release();
     camera = null;
   }
 }