-3

I am using zxing released build 3.2. Download it from git hub and import it in eclipse. After importing I set java compiler as 1.7 and add core.jar but still there is some error in library please give me suggestion to resolve it.

thanks in advance.

1 Answers1

0

Isn't it easier to use zxing via Intent ? (https://github.com/zxing/zxing/wiki/Scanning-Via-Intent)

IntentIntegrator integrator = new IntentIntegrator(yourActivity);
integrator.initiateScan();

public void onActivityResult(int requestCode, int resultCode, Intent intent) {
  IntentResult scanResult = IntentIntegrator.parseActivityResult(requestCode, resultCode, intent);
  if (scanResult != null) {
    // handle scan result
  }
  // else continue with any other code you need in the method
  ...
}