Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to stop the reading function at a certain point #28

Closed
nologinatgit opened this issue Sep 5, 2015 · 3 comments
Closed

How to stop the reading function at a certain point #28

nologinatgit opened this issue Sep 5, 2015 · 3 comments
Assignees

Comments

@nologinatgit
Copy link

When I open the Activity that has the reader view, it reads the code and jumps to onQRCodeRead. How can I stop it from keep reading it? I already used this code but this does not stop the reading only the camera preview:

 public void onQRCodeRead(String s, PointF[] pointFs)
  {
    myTextView.setText("QR code: "+s);
    mydecoderview.getCameraManager().stopPreview();    
  }
@nielsswinkels
Copy link

Maybe you could add your own boolean isScanning, turn that to false, and when it is false, do nothing in the onQRCodeRead() ?

@dlazaro66
Copy link
Owner

This is fixed, but not released yet. Will be available in the next version.

@chitrey
Copy link

chitrey commented Aug 1, 2016

@dlazaro66 when will it be released? Please release it soon. Greatly appreciated. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants