I want to access the lowest camera from multi camera android phone while using Zxing android library like if my phone has 3 camera (50 Mp, 8MP and 2MP), then i want to access 2 MP but it by default selects 50MP.
mCompoundBarcodeView = (CompoundBarcodeView) view.findViewById(R.id.barcode_scanner_view);
mCompoundBarcodeView.getBarcodeView().getCameraSettings().setFocusMode(CameraSettings.FocusMode.MACRO);
Above code is not working