1

I have implemented ZBar reader in my android application and are only using it to read QR codes. How can I limit ZBar to only detect QR codes?

7heViking
  • 7,137
  • 11
  • 50
  • 94

1 Answers1

2

I found the answer randomly an another ZBar question answer by @Sydwell

The following code solves the problem:

scanner = new ImageScanner();
// Only enable the codes your app requires
scanner.setConfig(Symbol.QRCODE, Config.ENABLE, 1);
Community
  • 1
  • 1
7heViking
  • 7,137
  • 11
  • 50
  • 94