Copied QR parsing sample code with zxing lib