Bar/QR code scanning API, currently based on the zxing implementation