QR code scanner using Zxing library. Scanner for android
//Scanner activity to scan data and get result. This can be called from other activity and get a result as required. //You can call scan Activity from any where and get value as reuired and can get type of qr code for example(URI,Text) public class ScanActivity extends AppCompatActivity implements ZXingScannerView.ResultHandler { private static final int REQUEST_CAMERA = 1; private static int camId = Camera.CameraInfo. CAMERA_FACING_BACK ; private ZXingScannerView mScannerView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mScannerView = new ZXingScannerView(this); setContentView(mScannerView); int currentApiVersion = Build.VERSION. SDK_INT ; if (currentApiVersion >= Build.VERSION_CODES. M ) { if (checkPermission()) { Toast.makeText(getApplicationContext(), "Permission already granted!", Toast.LENGT...