|
@@ -60,10 +60,10 @@ public class PictureSelectorActivity extends BaseActivity implements QRCodeView.
|
|
|
|
|
|
pictureSelectorUpload = new PictureSelectorUpload(PictureSelectorActivity.this,mRecyclerView,"tally");
|
|
|
|
|
|
- mZBarView = findViewById(R.id.zbarview);
|
|
|
- mZBarView.setDelegate(PictureSelectorActivity.this);
|
|
|
-
|
|
|
- mZBarView.startCamera(); // 打开后置摄像头开始预览,但是并未开始识别
|
|
|
+// mZBarView = findViewById(R.id.zbarview);
|
|
|
+// mZBarView.setDelegate(PictureSelectorActivity.this);
|
|
|
+//
|
|
|
+// mZBarView.startCamera(); // 打开后置摄像头开始预览,但是并未开始识别
|
|
|
// mZBarView.startCamera(Camera.CameraInfo.CAMERA_FACING_FRONT); // 打开前置摄像头开始预览,但是并未开始识别
|
|
|
|
|
|
// mZBarView.startSpotAndShowRect(); // 显示扫描框,并开始识别
|